From 329dc5057b56d83ed70dc561a85718f34898cb1a Mon Sep 17 00:00:00 2001 From: "Fleming, Michael (NIH/NCI) [C]" Date: Wed, 8 Jan 2025 17:10:48 -0500 Subject: [PATCH] debug --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a204c41..250a26d5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: # Get all tags for the repo and find the latest tag for the branch being built git fetch --tags --force --quiet # tag=$(git tag -l $GITHUB_REF_NAME* | tail -1 | cut -d "-" -f2-) - build_num=$(git tag -l $BRANCH_NAME* | tail -1 | cut -d "-" -f2-) + build_num=$(git tag -l $BRANCH_NAME* | tail -1 | cut -d "." -f2-) echo "BUILD_NUM = $build_num" ((build_num++)) echo "IMAGE_TAG=$GITHUB_REF_NAME.$build_num" >> $GITHUB_ENV