Skip to content

ci(release): sign and notarize macOS build via apple-codesign-action#472

Merged
luispadron merged 1 commit intomainfrom
luis/add-signing
May 4, 2026
Merged

ci(release): sign and notarize macOS build via apple-codesign-action#472
luispadron merged 1 commit intomainfrom
luis/add-signing

Conversation

@luispadron
Copy link
Copy Markdown
Collaborator

Summary

  • Re-add Apple codesigning + notarization to the OSS desktop release using `block/apple-codesign-action@v1.1.0` (SHA-pinned), in line with the patterns used in `block/builderbot` and `block/goose`.
  • Build the Tauri app with `--no-sign`, sign the DMG via the action, swap in the signed `.app`, then regenerate and re-sign the Tauri updater archive so the auto-updater payload matches the notarized binary.
  • Drop the ad-hoc `signingIdentity: "-"` override from `build-release-config.mjs` since real signing now happens post-build.
  • Add `id-token: write` to the release job (required by the action's OIDC flow) and an `spctl --assess` Gatekeeper check after signing.

Required secrets (`OSX_CODESIGN_ROLE`, `CODESIGN_S3_BUCKET`, `SPROUT_UPDATER_PUBLIC_KEY`, `TAURI_SIGNING_PRIVATE_KEY`, `TAURI_SIGNING_PRIVATE_KEY_PASSWORD`) are already configured on the repo.

Replace ad-hoc signing with real Apple codesign + notarization through
block/apple-codesign-action. Build with --no-sign, sign the DMG via the
action, swap in the signed .app, and rebuild + re-sign the Tauri updater
archive so the auto-updater payload matches the notarized binary.
@luispadron luispadron marked this pull request as ready for review May 4, 2026 15:52
@luispadron luispadron requested a review from wesbillman as a code owner May 4, 2026 15:52
@luispadron luispadron merged commit 3207592 into main May 4, 2026
13 checks passed
@luispadron luispadron deleted the luis/add-signing branch May 4, 2026 17:16
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.

2 participants