-
Notifications
You must be signed in to change notification settings - Fork 741
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #421 from schurzi/imprel
Improve Release Action
- Loading branch information
Showing
1 changed file
with
3 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|