ci: make release-creation race-safe across parallel jobs #7

Merged
adrianbonpin merged 1 commits from fix/release-upload-race into prod 2026-09-01 04:44:43 +00:00
1 Commits
Author SHA1 Message Date
adrianbonpin b09e295a3a ci: make release-creation race-safe across parallel jobs
Linux and Windows both ensure the release exists in parallel; a job can GET
404 (not yet created) then POST 422 (the other job won the race), leaving its
release id empty so its assets never upload. Add || true to the create and a
fallback re-fetch of the release id by tag when the create fails, so both jobs
upload reliably.
2026-09-01 12:44:27 +08:00