commit 954f2104767ca437258db3a1b4d7f243acba2c3d parent 111ad31178355b08db7f4bc48dfe573a938c82af Author: Martin Schanzenbach <schanzen@gnunet.org> Date: Tue, 17 Dec 2024 11:08:31 +0100 fix sort oder refs Diffstat:
| M | .buildbot/build.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.buildbot/build.sh b/.buildbot/build.sh @@ -5,7 +5,7 @@ export SPHINX_MULTIVERSION=1 git tag --delete latest || echo "Deleting tag can fail" # Get latest version branch -latest=$(git for-each-ref --format "%(refname)" | grep -i '^refs/heads/v[0-9]*\.[0-9]*\.x$' | sort | head -n1) +latest=$(git for-each-ref --format "%(refname)" | grep -i '^refs/heads/v[0-9]*\.[0-9]*\.x$' | sort -r | head -n1) echo $latest" is latest ref" git tag latest $latest sphinx-multiversion . _build