3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-20 17:14:43 +00:00

Fix nightly release deployment: explicitly delete Git tag to prevent asset conflicts (#8233)

* Initial plan

* Fix nightly release deployment by explicitly deleting tag

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
Copilot 2026-01-17 20:22:51 -08:00 committed by GitHub
parent ecea5e2b4e
commit 58d3c29c9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -573,12 +573,15 @@ jobs:
- name: Display structure of downloaded files
run: ls -R tmp
- name: Delete existing Nightly release
- name: Delete existing Nightly release and tag
continue-on-error: true
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release delete Nightly --yes --cleanup-tag || true
# Delete the release first (this also deletes assets)
gh release delete Nightly --yes || echo "No release to delete"
# Delete the tag explicitly
git push origin :refs/tags/Nightly || echo "No tag to delete"
- name: Create Nightly release
env: