From d9091db8261777895f4fac5b848ba329c486120a Mon Sep 17 00:00:00 2001 From: Joseba Martos Date: Wed, 2 Feb 2022 13:50:26 +0100 Subject: [PATCH] Fixed nmap worklow tagging --- .github/workflows/build-nmap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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