build(release): ship per-arch macOS tarballs instead of universal - #667
Merged
Conversation
Package gnash-X.Y.Z-macos-arm64.tar.gz and -x86_64.tar.gz (each with a .sha256) in place of the single universal tarball, halving the download for direct users. Homebrew is unaffected: the formula builds from the source tarball and bottles are already selected per platform.
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
Replaces the single universal (arm64 + x86_64) macOS release tarball with two per-architecture tarballs,
gnash-X.Y.Z-macos-arm64.tar.gzandgnash-X.Y.Z-macos-x86_64.tar.gz, each with its own.sha256. A universal binary carries both slices, so each direct downloader was paying for an architecture they can't run; the per-arch tarballs are roughly half the size (~770–850 KB gzipped vs ~1.5 MB).Homebrew is unaffected: the formula installs from the source tarball, and bottles are already selected per platform tag by
brewitself.Changes
scripts/release.shstep 3 now loops overarm64andx86_64, building each in its ownbuild-release-<arch>tree (already covered by.gitignore'sbuild-*/), verifying the slice withlipo -archs, and packaging per-arch tarballs. Idempotency is preserved per architecture.ASSETSarray.Testing
bash -npasses; the--helptext range still renders correctly.lipoverification passes, tarballs package with the license/README extras, and a re-run skips both (idempotent).🤖 Generated with Claude Code