Attempting to build the lastest tag instead of a hard-coded one

This commit is contained in:
anon8675309 2021-06-19 16:03:13 -05:00 committed by Isaac Connor
parent 022e9ad014
commit 2f32098f46
1 changed files with 2 additions and 0 deletions

View File

@ -118,6 +118,8 @@ else
fi; fi;
if [ "$SNAPSHOT" == "stable" ]; then if [ "$SNAPSHOT" == "stable" ]; then
if [ "$BRANCH" == "" ]; then if [ "$BRANCH" == "" ]; then
echo "About to run some basic commands for debugging..."
pwd; ls; git remote -v; git branch -v
echo "About to get the hash of the most recent tag" echo "About to get the hash of the most recent tag"
REV=$(git rev-list --tags --max-count=1) REV=$(git rev-list --tags --max-count=1)
echo "REV = $REV" echo "REV = $REV"