From 37d099b606a88a79e324440d0c7f009af90c80cd Mon Sep 17 00:00:00 2001 From: Michael Fleming Date: Thu, 17 Oct 2024 10:10:59 -0400 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3432d522..7ab2f315 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,8 +19,11 @@ jobs: - name: Get Tags run: | git fetch --tags --force --quiet - tags=$(git tag -l ga_test1* | tail -1 | cut -d "-" -f2-) - tags2=$(git tag -l $GITHUB_REF_NAME* | tail -1 | cut -d "-" -f2-) - echo $GITHUB_REF_NAME - echo "$tags" - echo "$tags2" + tags=$(git tag -l $GITHUB_REF_NAME* | tail -1 | cut -d "-" -f2-) + #tags=$(git tag -l nothing* | tail -1 | cut -d "-" -f2-) + #echo "$tags" + if $tags; + echo "$tags" + else + echo "tag not found" + fi