diff --git a/.github/workflows/monthly_release.yml b/.github/workflows/monthly_release.yml index 5d0e343e0..383ca5719 100644 --- a/.github/workflows/monthly_release.yml +++ b/.github/workflows/monthly_release.yml @@ -2,7 +2,7 @@ name: Monthly Release on: schedule: - - cron: 15 20 19 * * + - cron: 0 0 1 * * workflow_dispatch: logLevel: description: "Log level" @@ -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: @@ -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 diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index a90830785..f4c6e5a94 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -7,6 +7,7 @@ on: paths: # triggered when version is bumped - "setup.py" + - "CHANGELOG.md" jobs: release: runs-on: ubuntu-latest @@ -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