diff options
author | 2024-01-20 20:52:52 -0800 | |
---|---|---|
committer | 2024-01-20 20:52:52 -0800 | |
commit | 9fca8b218ece3807f3387266b613aded5688fbc9 (patch) | |
tree | e6db6ea54c843220b98b4ac55ffe2396cff061bf | |
parent | feat: GL_METADATA during non-repo commands (diff) | |
download | gitolite-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-x | dist.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |