Add signed & notarized app release workflow - #6
Draft
winebarrel wants to merge 1 commit into
Draft
Conversation
Add a Release workflow triggered on v* tags that builds, Developer ID signs, packages as a DMG, notarizes via notarytool (App Store Connect API key), staples, generates a SHA-256 checksum, and attaches both the DMG and checksum to a GitHub Release. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WSMaW5HzjPiK9nPK8UQuDZ
winebarrel
marked this pull request as draft
July 16, 2026 14:19
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.
概要
v*タグの push で発火するリリースワークフローを追加します。署名済み・公証済みの.appを DMG にパッケージして GitHub Release に添付します。フロー
xcodebuild archive→-exportArchive(ExportOptions.plist/ method:developer-id)で署名済み.appを書き出しhdiutilで DMG 作成(Applications シンボリックリンク付き)→ DMG も Developer ID 署名notarytool submit --wait(App Store Connect API キー)で公証 →stapler staplegh release createで DMG と.sha256を添付タグ(
v除去)をMARKETING_VERSIONに、github.run_numberをCURRENT_PROJECT_VERSIONに注入します。必要な Secrets
BUILD_CERTIFICATE_BASE64.p12(base64)P12_PASSWORD.p12のパスワードKEYCHAIN_PASSWORDAC_API_KEY_IDAC_API_ISSUER_IDAC_API_KEY_BASE64.p8(base64)使い方
🤖 Generated with Claude Code
https://claude.ai/code/session_01WSMaW5HzjPiK9nPK8UQuDZ