[x48ng] rollback tag

This commit is contained in:
Gwenhael Le Moine 2024-01-12 15:31:07 +01:00
parent 5910f1f73a
commit 7591ca8e96
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -36,7 +36,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
# Preparation
cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION