From ccb4b5a4d9ba75b946c3e83ce3e50a813115fb1d Mon Sep 17 00:00:00 2001 From: Huaaudio Date: Mon, 9 Mar 2026 17:34:52 +0100 Subject: [PATCH] Update to delete nightly tag before creating --- .github/workflows/nightly.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 8b587f170..321e35ccd 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -155,6 +155,12 @@ jobs: exit 1 fi fi + + # Delete existing nightly release and tag to avoid conflicts + echo "Deleting existing nightly release and tag..." + gh release delete nightly --cleanup-tag -y || true + git push origin :refs/tags/nightly || true + gh release create nightly \ --title "Nightly Build" \ --notes "$NOTES" \