Skip to content

Commit

Permalink
check if latest tag is a ycharts tag
Browse files Browse the repository at this point in the history
  • Loading branch information
skoobasteeve committed Aug 21, 2024
1 parent 8e3b362 commit 4f06192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ycharts_patch_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
git fetch --tags --force origin
LATEST_TAG=$(git describe --tags --abbrev=0)
if [ $(git tag -l "$LATEST_TAG-ycharts") ]; then
if [ $(git tag -l "$LATEST_TAG-ycharts") ] || [[ $LATEST_TAG == *"-ycharts" ]]; then
echo "tag_exists=true" >> $GITHUB_OUTPUT
else
echo "tag_exists=false" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 4f06192

Please sign in to comment.