diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/announce-release.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/announce-release.sh b/scripts/announce-release.sh index 93c9f55..dc0b35f 100755 --- a/scripts/announce-release.sh +++ b/scripts/announce-release.sh @@ -38,7 +38,7 @@ news="$(sed -n ' ' "${srcdir}/NEWS")" old_version="$(sed -n "/^${package_name} version /p;" "${srcdir}/NEWS" | \ sed -n "2{ s/^${package_name} version //p; };")" -old_tag="$(git tag | tail -n 1)" +old_tag="$(git tag --sort=creatordate | tail -n 2 | head -n 1)" export GIT_DIR="${srcdir}/.git" |