aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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