From 022e9ad014b793fd60e803f927a8940570f5c31e Mon Sep 17 00:00:00 2001 From: anon8675309 Date: Sat, 19 Jun 2021 15:01:17 -0500 Subject: [PATCH] Attempting to build the lastest tag instead of a hard-coded one --- utils/do_debian_package.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/do_debian_package.sh b/utils/do_debian_package.sh index 1868a9386..1a02adcc2 100755 --- a/utils/do_debian_package.sh +++ b/utils/do_debian_package.sh @@ -118,7 +118,9 @@ else fi; if [ "$SNAPSHOT" == "stable" ]; then if [ "$BRANCH" == "" ]; then - #REV=$(git rev-list --tags --max-count=1) + echo "About to get the hash of the most recent tag" + REV=$(git rev-list --tags --max-count=1) + echo "REV = $REV" 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