Skip to content

Commit

Permalink
fix: show all commits on release
Browse files Browse the repository at this point in the history
  • Loading branch information
derkalle4 committed Nov 19, 2024
1 parent 241f6c1 commit 6009aa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ jobs:
if: env.new_version == 'true'
id: get_release_notes
run: |
release_notes=$(git log --pretty=format:"[%h](https://github.com/${{ github.repository }}/commit/%H) - %s (%an)" $(git describe --tags --abbrev=0)..HEAD)
last_tag=$(git describe --tags --abbrev=0 HEAD^)
release_notes=$(git log --pretty=format:"[%h](https://github.com/${{ github.repository }}/commit/%H) - %s (%an)" $last_tag..HEAD)
echo "release_notes=$release_notes" >> $GITHUB_ENV
- name: Add Release on Github
Expand Down

0 comments on commit 6009aa1

Please sign in to comment.