Skip to content

Commit

Permalink
Actually use the current tag in generate_notes.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
saagarjha committed Nov 29, 2024
1 parent 4f5c58c commit 5d4ea1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Release/generate_notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set -x
# I'd like to use HEAD, but alas: https://github.com/actions/checkout/issues/969
LAST_TAG="$(git tag --sort=-version:refname | head -2 | tail -n 1)"
CURRENT_TAG="$(git tag --sort=-version:refname | head -1)"
git log "$LAST_TAG"..main --pretty=format:"[%as] %h: %s (%aN <%aE>)"
git log "$LAST_TAG".."$CURRENT_TAG" --pretty=format:"[%as] %h: %s (%aN <%aE>)"

0 comments on commit 5d4ea1e

Please sign in to comment.