version to version.txt

This commit is contained in:
Isaac Connor
2023-06-21 19:01:36 -04:00
parent 28e23b035c
commit 9606b1d855

View File

@@ -142,7 +142,7 @@ if [ "$SNAPSHOT" == "stable" ]; then
BRANCH=`git describe --tags $(git rev-list --tags --max-count=1)`;
if [ -z "$BRANCH" ]; then
# This should only happen in CI environments where tag info isn't available
BRANCH=`cat version`
BRANCH=`cat version.txt`
echo "Building branch $BRANCH"
fi
if [ "$BRANCH" == "" ]; then