Build universal binary in stable release workflow
Merged
AU
8mo ago+29+29+01234567890123456789-9-9-0123456789
Summary
- Updates the stable release workflow to build universal (arm64 + x86_64) binaries, matching the nightly workflow
- Adds
-destination 'generic/platform=macOS',ARCHS="arm64 x86_64", andONLY_ACTIVE_ARCH=NOto the xcodebuild command - Adds a post-build architecture verification step that checks the app binary, CLI binary, and Ghostty helper are all universal
- Updates all derived data paths from
build/tobuild-universal/for consistency
Test plan
- Trigger a test run of the release workflow via
workflow_dispatchon a test tag - Verify the "Verify binary architectures" step passes (confirms arm64 + x86_64 in all binaries)
- Verify codesigning and notarization succeed with the universal binary
🤖 Generated with Claude Code
Summary by cubic
Update the stable release workflow to build a universal macOS app (arm64 + x86_64), matching nightly builds, and verify architectures before signing and notarization.
- New Features
- Build universal binaries via
xcodebuildwith-destination 'generic/platform=macOS',ARCHS="arm64 x86_64", andONLY_ACTIVE_ARCH=NO. - Add post-build checks using
lipo -archsfor the app binary, CLI, and Ghostty helper. - Switch derived data paths from
build/tobuild-universal/and update downstream steps (Sparkle plist, CLI test, helper check, codesign/notarize,sentry-cliupload).
- Build universal binaries via
Summary by CodeRabbit
- Chores
- Updated release build process to generate universal binaries supporting both Apple Silicon and Intel architectures.
- Added verification step to ensure released binaries contain both required architecture variants.