Skip to content

Commit

Permalink
Merge pull request #421 from schurzi/imprel
Browse files Browse the repository at this point in the history
Improve Release Action
  • Loading branch information
schurzi authored Mar 16, 2021
2 parents 5cc8b2f + cd4925d commit 8706246
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,11 @@ jobs:
# changelog gets updated but action works on old commit id
- uses: actions/[email protected]
with:
fetch-depth: 0
ref: master

- name: Generate changelog for the release
uses: charmixer/auto-changelog-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
since_tag: ${{ steps.previoustag.outputs.tag }}
future_release: ${{ steps.version.outputs.next-version }}
output: CHANGELOGRELEASE.md
# this excludes all versions prior to the collection-release
# since they break the changelog generation with the error:
# "No common ancestor between ... and $version"
exclude_tags_regex: '[0-6]\.\d\.\d'
run: |
sed '/## \[${{ steps.previoustag.outputs.tag }}\]/Q' CHANGELOG.md > CHANGELOGRELEASE.md
- name: Read CHANGELOG.md
id: package
Expand Down

0 comments on commit 8706246

Please sign in to comment.