Update build-nmap.yml
This commit is contained in:
parent
925f06c635
commit
8f35ba7c28
1 changed files with 2 additions and 1 deletions
3
.github/workflows/build-nmap.yml
vendored
3
.github/workflows/build-nmap.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue