From 7e1dbb33cd8960a3876d94925b5111e7601ae161 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 8 Aug 2024 02:51:33 +0200 Subject: Fix release script [no changelog] --- docs/release_script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/release_script.sh b/docs/release_script.sh index 5026dfd..4c79e60 100755 --- a/docs/release_script.sh +++ b/docs/release_script.sh @@ -111,9 +111,9 @@ fi git fetch --tags "$REMOTE" -git tag --list --sort=taggerdate +git tag --list --sort=v:refname -oldversion="$(git tag --list --sort=taggerdate | tail -n1)" +oldversion="$(git describe --tags --abbrev=0|tr -d '\n')" echo "Choosing old version as $oldversion" -- cgit