From 9fca8b218ece3807f3387266b613aded5688fbc9 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 20 Jan 2024 20:52:52 -0800 Subject: fix: dist should sort versions properly Signed-off-by: Robin H. Johnson --- dist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-65-gdbad