3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-19 07:04:22 +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 Nikolaj Bjorner
parent c58ef30944
commit afe432b165

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: