website-doc.sh: write releases in reversed chronological order
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
3a00ddaa84
commit
4d0a7eae42
@ -25,7 +25,7 @@ $SPHINXBUILD -b html -d "$TMPDIR" doc-src "$dest"
|
|||||||
# Dynamically build JSON definitions for Jekyll.
|
# Dynamically build JSON definitions for Jekyll.
|
||||||
#
|
#
|
||||||
echo "Building Jekyll data: $VERSIONS_YML"
|
echo "Building Jekyll data: $VERSIONS_YML"
|
||||||
for version in $(ls "$DESTBASE")
|
for version in $(ls "$DESTBASE" -1 | sort -nr)
|
||||||
do
|
do
|
||||||
echo "- $version"
|
echo "- $version"
|
||||||
done > "$VERSIONS_YML"
|
done > "$VERSIONS_YML"
|
||||||
|
Loading…
Reference in New Issue
Block a user