diff --git a/scripts/latest-ver.sh b/scripts/latest-ver.sh index 322251f..7664c3d 100755 --- a/scripts/latest-ver.sh +++ b/scripts/latest-ver.sh @@ -1,4 +1,4 @@ #!/bin/bash git pull --quiet -git tag -l --sort=-version:refname | head -n 1 \ No newline at end of file +git tag | tr - \~ | sort -V | tr \~ - | tail -n 1 \ No newline at end of file