Repository navigation
Publish notarized GitHub releases from version tags - #509
zunda-pixel wants to merge 2 commits into
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 546a5931a0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| gh release create --generate-notes --verify-tag "${flags[@]}" -- "$VERSION" \ | ||
| "$BINARY_ASSET" macOS-arm64-SHA256SUMS.txt release/* |
There was a problem hiding this comment.
Resume publication instead of recreating the release
If asset upload or the final publish request fails after GitHub has created the release, rerunning this job always calls gh release create again and fails because the tag already has a draft or published release. gh release create --help documents that creation, asset uploads, and publication use separate API calls, so this partial state is expected after transient failures; the retained resumer cannot recover it because scripts/release_sync.py only scans legacy workflow_dispatch runs with receipt artifacts. Make this step detect and safely complete the matching existing release so a publication retry can proceed to Homebrew dispatch.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Updated in 9b1ccb7. Rerunning the publish job now resumes the draft created by the same Actions run. It verifies existing assets by SHA-256, uploads only missing or incomplete assets, and publishes the draft. If publication already succeeded, the rerun verifies the published assets and succeeds without changing the release.
The regression tests cover draft resumption, already-published releases, and rejection of unrelated drafts or mismatched assets. All 115 tests and Actionlint passed.
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
ちょ〜〜助かります! |
|
ありがとうございますー 最初だけGitHub、App Store Connectの設定が面倒ですね... |
Closes #471.
Push a version tag to test the tagged commit, build the macOS arm64 distribution, and sign it with Developer ID Application. After Apple accepts notarization, staple the ticket and verify the extracted ZIP in a separate job. Publish the signed ZIP, checksums, source assets, and generated notes after the MCP smoke test passes.
Request the stable Homebrew update after the GitHub Release is public. The tap keeps its own bottle signing and verification pipeline. Existing drafts can still use the legacy resume workflow where applicable.
Maintainer setup
Follow the signing setup instructions. Configure the XcodeMCPKit
release-signingenvironment with the Developer ID and App Store Connect credentials. Allow release tags in therelease-signingandrelease-publishdeployment rules.Verification
git diff --checkpassed.