From 9c88e3e3437ce2eda538edecfc66f9d7d0a35228 Mon Sep 17 00:00:00 2001 From: Joseba Martos Date: Wed, 2 Feb 2022 12:59:09 +0100 Subject: [PATCH] Fixed nmap workflow 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 4dd42f7..0cb327d 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 rev-list --tags "nmap-v${{ needs.build-x86.outputs.version }}".. > /dev/null; then + if git show-ref --tags --quiet --verify "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