Open
Conversation
Add a sign-macos job that runs after build to sign darwin/amd64 and darwin/arm64 binaries with an Apple Developer ID certificate. This eliminates Gatekeeper warnings for macOS users. The job imports the certificate into a temporary keychain, signs with hardened runtime, verifies the signature, and optionally notarizes via xcrun notarytool when Apple ID secrets are configured. The release job now depends on sign-macos to ensure only signed binaries are published. Closes #42 Co-Authored-By: Claude Opus 4.6 <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
sign-macosjob to the release workflow that signs macOS binaries (amd64 + arm64) with an Apple Developer ID certificatecodesign --force --options runtime --timestamp, and verify signaturesxcrun notarytoolwhen Apple ID secrets are configured (conditional onAPPLE_IDbeing set)Required Secrets
APPLE_CERTIFICATE_P12APPLE_CERTIFICATE_PASSWORDAPPLE_SIGNING_IDENTITYDeveloper ID Application: Name (TEAM_ID)APPLE_IDAPPLE_TEAM_IDAPPLE_APP_PASSWORDTest plan
codesign --verifypasses in the workflow logscodesign -dvv gplay-darwin-arm64xcrun notarytool submitsucceedsCloses #42
🤖 Generated with Claude Code