diff --git a/.github/workflows/build-nmap.yml b/.github/workflows/build-nmap.yml index 0cb327d..0b52946 100644 --- a/.github/workflows/build-nmap.yml +++ b/.github/workflows/build-nmap.yml @@ -147,7 +147,7 @@ jobs: - name: Tag Release run: | set +e - if git show-ref --tags --quiet --verify "nmap-v${{ needs.build-x86.outputs.version }}"; then + if git show-ref --tags --quiet --verify -- "refs/tags/nmap-v${{ needs.build-x86.outputs.version }}"; then echo "Tag for nmap-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation." echo ::set-output name=NEW_RELEASE::"false" else