aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2024-01-20 20:52:52 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2024-01-20 20:52:52 -0800
commit9fca8b218ece3807f3387266b613aded5688fbc9 (patch)
treee6db6ea54c843220b98b4ac55ffe2396cff061bf
parentfeat: GL_METADATA during non-repo commands (diff)
downloadgitolite-gentoo-9fca8b218ece3807f3387266b613aded5688fbc9.tar.gz
gitolite-gentoo-9fca8b218ece3807f3387266b613aded5688fbc9.tar.bz2
gitolite-gentoo-9fca8b218ece3807f3387266b613aded5688fbc9.zip
fix: dist should sort versions properly
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xdist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist.sh b/dist.sh
index 1e24254..125dba0 100755
--- a/dist.sh
+++ b/dist.sh
@@ -17,7 +17,7 @@ else
fi
if [ -z "${1}" ]; then
- tag=$(git tag | grep '^gitolite-gentoo-.*$' | sort -r | head -n 1)
+ tag=$(git tag | grep '^gitolite-gentoo-.*$' | sort -Vr | head -n 1)
else
tag=$1
fi