Fixed nmap worflow tagging

This commit is contained in:
Joseba Martos 2022-02-02 12:43:02 +01:00 committed by GitHub
parent bfdc8f494a
commit f6c5a3c4c3
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
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