diff --git a/.github/workflows/build-nmap.yml b/.github/workflows/build-nmap.yml index c874a91..b9823ca 100644 --- a/.github/workflows/build-nmap.yml +++ b/.github/workflows/build-nmap.yml @@ -148,11 +148,11 @@ jobs: run: | set +e 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." echo ::set-output name=NEW_RELEASE::"false" else + echo "Tag for nmap-v${{ needs.build-x86.outputs.version }} missing. Starting release creation." git tag "nmap-v${{ needs.build-x86.outputs.version }}" git push origin "nmap-v${{ needs.build-x86.outputs.version }}" echo ::set-output name=NEW_RELEASE::"true"