website-doc.sh: versions.yml: set versions in order
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
c883160814
commit
5fa0340f9d
@ -58,7 +58,7 @@ function api () {
|
||||
for version in $(ls "$DESTBASE" -1 | sort -nr)
|
||||
do
|
||||
echo "- $version"
|
||||
done >> "$VERSIONS_YML"
|
||||
done | sort -V >> "$VERSIONS_YML"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user