diff --git a/.github/workflows/tagger.yml b/.github/workflows/tagger.yml index 490025b53..4d0e54981 100644 --- a/.github/workflows/tagger.yml +++ b/.github/workflows/tagger.yml @@ -23,7 +23,7 @@ jobs: id: check_tag run: | git fetch --tags - if [ -z "$(git tag -l | grep -w ${{ steps.check_version.outputs.TAG }})" ]; then + if [ -z "$(git tag -l | grep -w "^${{ steps.check_version.outputs.TAG }}\$")" ]; then echo "TAG_EXISTS=false" >> $GITHUB_OUTPUT else echo "TAG_EXISTS=true" >> $GITHUB_OUTPUT