Skip to content

Commit

Permalink
fix: add changelog file (#907)
Browse files Browse the repository at this point in the history
* "New release for 3.3.1"

Automatically generated by python-semantic-release

* trying to preserve format of changelog

Signed-off-by: Allison Suarez Miranda <[email protected]>

* revent v bump

Signed-off-by: Allison Suarez Miranda <[email protected]>

* added changelog file to persist through actions

Signed-off-by: Allison Suarez Miranda <[email protected]>

* removed changelog call from PR creations tep

Signed-off-by: Allison Suarez Miranda <[email protected]>

* removed unnnecesary variable

Signed-off-by: Allison Suarez Miranda <[email protected]>

* ssetup cron to run the first day of every month at 12am

Signed-off-by: Allison Suarez Miranda <[email protected]>

Co-authored-by: semantic-release <semantic-release>
  • Loading branch information
allisonsuarez authored Feb 1, 2021
1 parent 8686f81 commit f06c50e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
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 [email protected]
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

0 comments on commit f06c50e

Please sign in to comment.