Update build-nmap.yml

This commit is contained in:
Joseba Martos 2022-02-02 18:19:59 +01:00 committed by GitHub
parent 8f35ba7c28
commit 64e38082f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,7 @@ jobs:
- name: Tag Release
run: |
set +e
git fetch --prune --unshallow --tags
git fetch --quiet --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."