Updated Nmap release creation

This commit is contained in:
Niklaus Schiess 2022-10-05 12:59:56 +02:00
parent 04a2277791
commit 5d920d97ab

View file

@ -147,7 +147,7 @@ jobs:
- name: Tag Release - name: Tag Release
run: | run: |
set +e set +e
git fetch --quiet --prune --unshallow --tags git fetch --quiet --prune --tags
if [[ $(git tag -l | grep nmap-v${{ needs.build-x86.outputs.version }} | wc -l) -gt 0 ]]; then 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 "Tag for nmap-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
echo ::set-output name=NEW_RELEASE::"false" echo ::set-output name=NEW_RELEASE::"false"