Skip to content

Commit 19d5a17

Browse files
committed
remove second call to changelog generator
Signed-off-by: Martin Schurz <[email protected]>
1 parent 5cc8b2f commit 19d5a17

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,10 @@ jobs:
5656
fetch-depth: 0
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' \
61+
/mnt/c/Develop/ansible-collection-hardening/CHANGELOG.md \
62+
> CHANGELOGRELEASE.md
6963
7064
- name: Read CHANGELOG.md
7165
id: package

0 commit comments

Comments
 (0)