mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2025-01-15 13:20:12 +00:00
fix numeric sort
This commit is contained in:
parent
1d7833cd24
commit
b1112f5e6d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user