diff options
Diffstat (limited to 'docs/release_script.sh')
-rwxr-xr-x | docs/release_script.sh | 4 |
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" |