aboutsummaryrefslogtreecommitdiff
path: root/docs/release_script.sh
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-08-08 02:51:33 +0200
committerLinnea Gräf <nea@nea.moe>2024-08-08 02:51:33 +0200
commit7e1dbb33cd8960a3876d94925b5111e7601ae161 (patch)
tree0552db591131cf97d3d0aa29b9888a75d3ab6dba /docs/release_script.sh
parent258faff2385e8370f1d37de890fe9c3d225e6331 (diff)
downloadFirmament-7e1dbb33cd8960a3876d94925b5111e7601ae161.tar.gz
Firmament-7e1dbb33cd8960a3876d94925b5111e7601ae161.tar.bz2
Firmament-7e1dbb33cd8960a3876d94925b5111e7601ae161.zip
Fix release script
[no changelog]
Diffstat (limited to 'docs/release_script.sh')
-rwxr-xr-xdocs/release_script.sh4
1 files 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"