chore(release): arch-suffix the macOS zip artifact#11
Merged
radutopala merged 1 commit intomainfrom May 4, 2026
Merged
Conversation
The mac zip target was using electron-builder's default artifact name, which omits the arch suffix on the historical-default x64 build: arm64 → Loop-X-arm64-mac.zip x64 → Loop-X-mac.zip ← unsuffixed When a tag is pushed, the arm64 and x64 jobs run in parallel against the same release. arm64 finished first; by the time the slower x64 job reached its upload step, gh release upload --clobber raced on the unsuffixed name and failed with HTTP 422 ReleaseAsset.name already exists (see v2026.5.8). Result: red workflow status even though all assets did end up on the release. Set mac.artifactName explicitly so both arches produce arch-suffixed zips: Loop-X-arm64-mac.zip Loop-X-x64-mac.zip dmg already has its own arch-suffixed override and continues to win for the dmg target. update-manifests merges each job's latest-mac.yml into a single release manifest, so auto-update keeps working — electron-updater reads the merged yml which references whatever filenames each arch produces.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the upload race that turned
v2026.5.8's release run red (failed job).Why
electron-builder.ymlleftmac.target.zipusing the default artifact name, which omits the arch suffix on the historical-default x64 build:Loop-X-arm64-mac.zipLoop-X-mac.zip← unsuffixedThe arm64 and x64 jobs run in parallel against the same release. arm64 finishes first; by the time the slower x64 job (notarization adds ~16 min) reaches its upload step,
gh release upload --clobberraces on the unsuffixed name and returnsHTTP 422 ReleaseAsset.name already exists.Fix
Set
mac.artifactNameexplicitly so both arches arch-suffix:Result:
Loop-X-arm64-mac.zipLoop-X-x64-mac.zipdmgalready has its own arch-suffixed override and continues to win for.dmg. Theupdate-manifestsjob merges each arch'slatest-mac.ymlinto one published manifest, so electron-updater keeps working — it reads the merged yml which references whatever names electron-builder actually produces.Test plan
Loop-X-arm64-mac.zipandLoop-X-x64-mac.zip; no collisionlatest-mac.ymlreferences the new filenames)