Update to delete nightly tag before creating

This commit is contained in:
Huaaudio 2026-03-09 17:34:52 +01:00
parent 2290c73fe4
commit ccb4b5a4d9

View file

@ -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" \