Skip to content

Sign and notarize the macOS builds - #3

Merged
benjaminbrtrd merged 2 commits into
mainfrom
ci/macos-signing
Nov 15, 2026
Merged

benjaminbrtrd merged 2 commits into
mainfrom
ci/macos-signing

Conversation

@benjaminbrtrd

Copy link
Copy Markdown
Owner

What changes

The release workflow now signs the macOS app with the Developer ID certificate and notarizes it, then notarizes and staples the .dmg too, so macOS opens Cubby without the "unidentified developer" warning.

  • Signing and app notarization: a step exports the APPLE_* secrets for tauri-action (multiline-safe, the certificate's base64 joined on one line) and writes the App Store Connect key to a temporary file. Without the secrets (forks, or before they're set) the build stays unsigned, with a warning instead of a failure.
  • Disk image: Tauri notarizes the app but not the .dmg around it. A step submits each .dmg with notarytool, fails with Apple's log if it isn't accepted, staples the ticket, checks it with spctl and replaces the asset in the release, before the checksums job runs.
  • The key file is removed at the end of the job.
  • CONTRIBUTING.md lists the six secrets and how to check a signed build.

Tested

Two test tags (v2026.11.0-signing.1, v2026.11.0-signing.2) built draft pre-releases:

  • Both macOS jobs: Notarizing Finished with status Accepted for the app, then for the .dmg.
  • On a Mac, the downloaded Cubby_2026.11.0_aarch64.dmg and the Cubby.app inside it: spctl accepted, source=Notarized Developer ID, tickets stapled.
  • SHA256SUMS.txt matches the stapled .dmg.
  • The checksums job failed once on a transient Sigstore error ("error fetching tlog entry - (404)") and passed on rerun.

The two test drafts and tags can be deleted once this is merged.

🤖 Generated with Claude Code

benjaminbrtrd and others added 2 commits November 15, 2026 21:00
The release workflow signs the macOS app with the Developer ID certificate
and notarizes it with an App Store Connect API key when the six APPLE_*
secrets exist; without them the build stays unsigned, as before.
CONTRIBUTING lists the secrets and how to check a signed build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tauri notarizes the app inside the .dmg but not the .dmg: submit it with
the same App Store Connect key, staple the ticket and replace the asset in
the release, before the checksums job runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@benjaminbrtrd
benjaminbrtrd merged commit ea63705 into main Nov 15, 2026
16 of 17 checks passed
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