Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-fleming authored Oct 17, 2024
1 parent dfb9015 commit 37d099b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 37d099b

Please sign in to comment.