Repository navigation
build(release): ship per-arch builds and a per-arch appcast - #4414
Merged
Merged
Conversation
Revert the 0.82 universal app to one build per arch. - build.sh/package.sh take an arch (none builds both); output under build/release/<arch>. - feed.py stages both arm64 and x86_64 archives plus per-arch notes so generate_appcast emits the paired items, and validates both enclosures, both edSignatures and the hardwareRequirements gating. - release.yml App job is an arm64/x86_64 matrix; both app artifacts merge into the release. - verify-plugin-loads.sh builds the probe for the target arch so the x86_64 build loads under Rosetta.
datlechin
enabled auto-merge (squash)
November 22, 2026 06:52
datlechin
disabled auto-merge
November 22, 2026 07:02
This was referenced Nov 22, 2026
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
TablePro-<ver>-arm64and-x86_64, each a.dmg, a.tar.xzand a-dSYMs.zip. Registry plugins stay universal.build.sh app [arm64|x86_64]andpackage.sh app [arm64|x86_64](none means both) write tobuild/release/<arch>/.check_archfails a binary that carries the other slice.release.yml's App job is anarm64/x86_64matrix;github-releasemerges both artifacts. 3 macOS jobs at once with Plugins.generate_appcast, which refuses two archives of one bundle version ("Duplicate updates are not supported",generate_appcast/Unarchive.swift). No commit, issue or PR names another reason; the download page and docs followed (feat(releases): one universal DMG from the updates.tablepro.app feed web#119, docs: one universal DMG, and changelog blocks from notes.py docs#35).feed.pyrunsgenerate_appcastonce per arch over the same feed, keeps the x86_64 run's feed (it prunes exactly as the universal feed did), puts the arm64 item first with the x86_64 item'spubDate, and re-signs.SUAppcastDriver.m,bestItemFromAppcastItems), and a native Intel process drops the gated item (SPUAppcastItemStateResolver.m,isArm64HardwareRequirementOK). OnepubDatekeeps a phased rollout from offering x86_64 alone.new_item_problemschecks both items: URL,sparkle:hardwareRequirements(arm64 only on arm64), signature, order and date.verify-plugin-loads.sh --archbuilds the probe for that arch, so the x86_64 leg dlopens under Rosetta. A Mac that cannot run the arch skips the check, except in CI.RELEASING.md,CONTRIBUTING.mdand the release skill's asset check follow.url(it fetchesTablePro-#{version}.dmg), the download page (TableProApp/web, branchfeat/mac-per-arch-download, no PR yet) and docsinstallation.mdx.Test plan
test_feed.pychanged on purpose: its fakegenerate_appcastnow refuses two archives of one version as Sparkle does, so tests that counted one run or one signing count two. Before thefeed.pyfix the new add tests fail on that refusal.generate_appcaston this branch's first commit (both archives in one stage): exits 1, "Duplicate updates are not supported".feed.addwith the realgenerate_appcastandsign_update, throwaway keys, seeded with a copy of today's gh-pages feed (universal 0.85.0 to 0.88.0-beta.2): 0.99.0, 0.99.1, 0.99.2, 0.99.3 and 0.100.0-beta.1, then withdraw 0.99.3. Every pair arm64 first, one date, both signed, feed verifies; pruning drops both items of a version; the withdraw removes 2 items and re-signs.build.sh app <arch> --unsignedandpackage.sh app <arch> --unsigned, both arches, M4 Pro: arm64 1495 s, x86_64 1893 s,-jobs 1. "All 16 plugins load" on both, x86_64 under Rosetta..tar.xz29.1 / 32.7 / 54.8 MB (0.87.0).feed.py, updated itself on Apple silicon. It fetched the signed feed ("EdDSA signature is correct for appcast"), downloaded onlyTablePro-0.99.0-arm64.tar.xz, and installed 0.99.0 arm64-only on quit.actions/runner-imagesimages/macos/templates/xcode-27.arm64.anka.pkr.hclrunsinstall-rosetta.sh.appcast.xmlon main, which ends at the universal 0.82.0 and no release writes. Every app on the new feed ships Sparkle 2.10.0;hardwareRequirementsarrived in 2.9.0.