Skip to content

Commit

Permalink
ci: cleaned up release.yml for changelog writing
Browse files Browse the repository at this point in the history
  • Loading branch information
97gamjak committed Jun 1, 2024
1 parent 6999330 commit f9435b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- name: generate new changelog
run: |
name=$(git --no-pager tag --sort=creatordate --merged ${{ github.ref_name }} | tail -2 | head -1)
echo "git-changelog=$(git-changelog -F "$name.. -c angular")" >> $GITHUB_ENV
echo "git-changelog=$(git-changelog --sections chore,ci,doc,feat,fix,perf,test -F "$name.. -c angular")" >> $GITHUB_ENV
- name: Create GitHub Release
env:
Expand All @@ -100,7 +100,7 @@ jobs:
- name: Build CHANGELOG.md
run: |
git-changelog -o CHANGELOG.md -c angular
git-changelog --sections chore,ci,doc,feat,fix,perf,test -o CHANGELOG.md -c angular --in-place
- name: Add CHANGELOG.md to commit
run: |
Expand Down

0 comments on commit f9435b4

Please sign in to comment.