From f6c5a3c4c37076ea014fa43e5b968dc5e2a5f451 Mon Sep 17 00:00:00 2001 From: Joseba Martos Date: Wed, 2 Feb 2022 12:43:02 +0100 Subject: [PATCH] Fixed nmap worflow 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 93e1188..4dd42f7 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 "nmap-v${{ needs.build-x86.outputs.version }}".. >/dev/null;then + if git rev-list --tags "nmap-v${{ needs.build-x86.outputs.version }}".. > /dev/null; then echo "Tag for nmap-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation." echo ::set-output name=NEW_RELEASE::"false" else