website-doc.sh: versions.yml: set versions in order

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2017-03-11 13:42:52 +01:00
parent c883160814
commit 5fa0340f9d

View File

@ -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"
}