fix numeric sort

This commit is contained in:
Simon 2024-12-20 11:20:02 +07:00
parent 1d7833cd24
commit b1112f5e6d
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -157,7 +157,7 @@ function sync_docker {
fi
echo "latest tags:"
git tag | tail -n 5 | sort -r
git tag | sort -rV | head -n 5
printf "\ncreate new version:\n"
read -r VERSION
@ -189,7 +189,7 @@ function sync_docker_old {
fi
echo "latest tags:"
git tag | tail -n 5 | sort -r
git tag | sort -rV | head -n 5
printf "\ncreate new version:\n"
read -r VERSION