chore(ci): move macOS release pipeline to GitHub Actions - #144
Merged
Conversation
Port scripts/release.sh to .github/workflows/release-macos.yml (workflow_dispatch): Tauri build, Developer-ID codesign with entitlements, notarization + stapling via App Store Connect API key, DMG, signed updater bundle + latest.json, tag + GitHub release, PyPI publish. Keychain/notary steps follow the host-admin macos-sign.yml template (inlined — aiui signs three artifacts in sequence and builds the DMG from the stapled app, which a single artifact-path call can't express). Cost design per CI playbook: dispatch-only trigger, single macOS job, version-sync check first so a drifted dispatch fails in seconds. scripts/release.sh stays as documented emergency fallback; comments in ci.yml and release-windows.yml updated to point at the new workflow. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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
Ports
scripts/release.shto a manually dispatched GitHub Actions workflow (release-macos.yml), per the global convention: macOS builds, signing and notarization run exclusively in CI (Developer ID Application + App Store Connect API key), never on a local machine.latest.json→ tag + GitHub release → PyPI publish (last, because PyPI versions are permanent).version,prerelease(validate-first flow, updater clients skip pre-releases),publish-pypi.macos-sign.ymltemplate, inlined because aiui signs three artifacts in sequence and builds the DMG from the already-stapled app.scripts/release.shstays as documented emergency fallback; stale comments inci.yml/release-windows.ymlupdated.Not included (required before first dispatch)
The workflow needs secrets that do not exist in
byte5aiyet (org has onlyNPM_TOKEN): the fiveMACOS_*signing/notary secrets,TAURI_SIGNING_PRIVATE_KEY(_PASSWORD),UV_PUBLISH_TOKEN. Source files live in~/.config/macos-signing/on the maintainer's machine — see handover in the session.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.