diff --git a/Release/generate_notes.sh b/Release/generate_notes.sh index a084709..e5078f4 100755 --- a/Release/generate_notes.sh +++ b/Release/generate_notes.sh @@ -5,5 +5,8 @@ set -x # Don't buffer output, as per setbuf(3) export STDBUF=U +ALL_TAGS="$(git tag --sort=-version:refname | xargs -n 1 git show-ref)" +HEAD="$(git show-ref HEAD)" + LAST_TAG="$(git tag --sort=-version:refname | head -2 | tail -n 1)" git log "$LAST_TAG"..HEAD --pretty=format:"[%as] %h: %s (%aN <%aE>)"