From 8f35ba7c28f77b3523198cc828a480f19b2b9bfc Mon Sep 17 00:00:00 2001 From: Joseba Martos Date: Wed, 2 Feb 2022 18:08:19 +0100 Subject: [PATCH] Update build-nmap.yml --- .github/workflows/build-nmap.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-nmap.yml b/.github/workflows/build-nmap.yml index f2a5c03..8380274 100644 --- a/.github/workflows/build-nmap.yml +++ b/.github/workflows/build-nmap.yml @@ -147,7 +147,8 @@ jobs: - name: Tag Release run: | set +e - echo "Version found: $(git tag -l | grep nmap-v${{ needs.build-x86.outputs.version }} | wc -l)" + git fetch --prune --unshallow --tags + echo "Versions found: $(git tag -l | grep nmap-v${{ needs.build-x86.outputs.version }} | wc -l)" if [[ $(git tag -l | grep nmap-v${{ needs.build-x86.outputs.version }} | wc -l) -gt 0 ]]; then echo "Tag for nmap-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation." echo ::set-output name=NEW_RELEASE::"false"