Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add changelog file #907

Merged
merged 8 commits into from
Feb 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/monthly_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Monthly Release

on:
schedule:
- cron: 15 20 19 * *
- cron: 0 0 1 * *
workflow_dispatch:
logLevel:
description: "Log level"
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:
git config user.email github-actions@github.com
semantic-release version
echo ::set-output name=version::$(semantic-release print-version --current)
echo ::set-output name=difflog::"$(semantic-release changelog)"
echo semantic-release changelog > './CHANGELOG.md'
- name: Create release pull request
uses: peter-evans/create-pull-request@v3
with:
Expand All @@ -40,7 +40,6 @@ jobs:
title: Bumped version for release ${{ steps.semantic-release.outputs.version }}
body: |
Bumped version to ${{ steps.semantic-release.outputs.version }}
${{ steps.semantic-release.outputs.difflog }}
team-reviewers: amundsen-io/amundsen-committers
branch: ${{ env.BRANCH_NAME }}
delete-branch: true
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
paths:
# triggered when version is bumped
- "setup.py"
- "CHANGELOG.md"
jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -29,7 +30,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.vers.outputs.version }}
release_name: New features & Bug Fixes
release_name: New Features & Bug Fixes
body_path: ./CHANGELOG.md
- name: Add wheel dependency
run: pip install wheel
- name: Generate dist
Expand Down