Skip to content

Sign and notarize macOS release builds - #18

Open
mohnjiles wants to merge 1 commit into
mainfrom
ci/macos-signing
Open

Sign and notarize macOS release builds#18
mohnjiles wants to merge 1 commit into
mainfrom
ci/macos-signing

Conversation

@mohnjiles

Copy link
Copy Markdown
Member

What

Passes Developer ID signing + notarization credentials to tauri-action in the release workflow, so macOS builds stop being ad-hoc signed. Currently every macOS download fails Gatekeeper with the misleading "LitePost is damaged and can't be opened" dialog (v0.5.0 aarch64 confirmed: Signature=adhoc, TeamIdentifier=not set).

Setup required before merging

The workflow references the same secret names the Stability Matrix release pipeline uses. They currently live as repo secrets on StabilityMatrix, so they need to be made available here — either promote them to org-level secrets (recommended) or copy them into this repo:

  • PROD_MACOS_CERTIFICATE (base64 .p12)
  • PROD_MACOS_CERTIFICATE_PWD
  • PROD_MACOS_CERTIFICATE_NAME (the Developer ID Application: … identity string)
  • PROD_MACOS_NOTARIZATION_APPLE_ID
  • PROD_MACOS_NOTARIZATION_PWD (app-specific password)
  • PROD_MACOS_NOTARIZATION_TEAM_ID

No keychain-password secret is needed — Tauri creates its own ephemeral keychain. Tauri v2 enables hardened runtime by default once a signing identity is set, so no tauri.conf.json changes are needed.

Note: notarization adds a few minutes to each of the two macOS matrix jobs.

🤖 Generated with Claude Code

Pass Developer ID signing + notarization credentials to tauri-action so
macOS builds are no longer ad-hoc signed (Gatekeeper rejected them as
"damaged" on download).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant