Distribution: CI, release pipeline, macOS signing & notarization#2
Merged
Conversation
- Generate .github/workflows/release.yml via cargo-dist for cross-platform builds on macOS arm64/x86, Linux arm64/x86, and Windows x86 - Remove allow-dirty = ["ci"] from dist-workspace.toml so dist can manage CI - Revert install.sh TEMP pre-launch blocks: replace gh CLI calls with curl for tag lookup, binary download, and source tarball download Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Sets macos-sign = true in dist-workspace.toml; regenerates release.yml to pass CODESIGN_CERTIFICATE, CODESIGN_CERTIFICATE_PASSWORD, and CODESIGN_IDENTITY secrets to macOS build runners. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
…t names Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
macOS 14 rejects OpenSSL 3.x p12 format; macos-15 handles it correctly. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
…ha.1 - Add APPLE_NOTARIZE_* secrets and notarize step to release workflow; step runs only on macOS targets and only on tag releases - Revert pr-run-mode from upload back to plan - Bump version to 1.0.0-alpha.1 for pre-release testing Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Apple rejects notarization submissions without hardened runtime enabled. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <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
.github/workflows/ci.yml— runscargo teston every push to master and PR; installslibdbus-1-devfor Linux.github/workflows/release.yml— cargo-dist release pipeline for all 5 targets (macOS arm64/x86, Linux arm64/x86, Windows x86) with GitHub Attestationsinstall.sh— reverted pre-launchghCLI workarounds to plaincurlfor public distributiondist-workspace.toml— macOS signing, hardened runtime, notarization,libdbus-1-devfor Linux,aarch64-apple-darwinpinned tomacos-15, custom secret name mappingsGitHub Secrets required
APPLE_CERTIFICATE.p12APPLE_CERTIFICATE_PASSWORD.p12export passwordAPPLE_CODESIGN_IDENTITYDeveloper ID Application: HDR BMEX Limited (9UL94MA5KD)APPLE_TEAM_ID9UL94MA5KDAPPLE_NOTARIZE_IDapp.developers@bitmex.comAPPLE_NOTARIZE_PASSWORDTest results (v1.0.0-alpha.2)
libdbus-1-devTo ship v1.0.0
git tag v1.0.0 && git push origin v1.0.0🤖 Generated with Claude Code