Update build-nmap.yml
This commit is contained in:
parent
4e193f4e67
commit
eac34ac818
1 changed files with 2 additions and 0 deletions
2
.github/workflows/build-nmap.yml
vendored
2
.github/workflows/build-nmap.yml
vendored
|
@ -145,12 +145,14 @@ jobs:
|
|||
run: ls -laR /tmp/releases
|
||||
|
||||
- name: Tag Release
|
||||
id: tag_release
|
||||
run: |
|
||||
set +e
|
||||
git fetch --quiet --prune --unshallow --tags
|
||||
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"
|
||||
echo "::set-output name=mix-ecto_create::$(mix ecto.create)\n"
|
||||
else
|
||||
echo "Tag for nmap-v${{ needs.build-x86.outputs.version }} missing. Starting release creation."
|
||||
git tag "nmap-v${{ needs.build-x86.outputs.version }}"
|
||||
|
|
Loading…
Reference in a new issue