File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -53,19 +53,11 @@ jobs:
5353 # changelog gets updated but action works on old commit id
54545555 with :
56- fetch-depth : 0
56+ ref : master
5757
5858 - name : Generate changelog for the release
59- uses : charmixer/auto-changelog-action@v1
60- with :
61- token : ${{ secrets.GITHUB_TOKEN }}
62- since_tag : ${{ steps.previoustag.outputs.tag }}
63- future_release : ${{ steps.version.outputs.next-version }}
64- output : CHANGELOGRELEASE.md
65- # this excludes all versions prior to the collection-release
66- # since they break the changelog generation with the error:
67- # "No common ancestor between ... and $version"
68- exclude_tags_regex : ' [0-6]\.\d\.\d'
59+ run : |
60+ sed '/## \[${{ steps.previoustag.outputs.tag }}\]/Q' CHANGELOG.md > CHANGELOGRELEASE.md
6961
7062 - name : Read CHANGELOG.md
7163 id : package
You can’t perform that action at this time.
0 commit comments