Skip to content

Publish notarized MacDiff releases when version tags are pushed - #9

Merged
stuartd merged 3 commits into
mainfrom
codex/macdiff-notarized-tag-releases
Oct 24, 2026
Merged

stuartd merged 3 commits into
mainfrom
codex/macdiff-notarized-tag-releases

Conversation

@stuartd

@stuartd stuartd commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

MacDiff already has a local notarization script, but pushing a version tag does not build or publish a release. Add a GitHub Actions workflow based on ClipDiff's release flow: v* tags run the existing tests and universal build, import Developer ID credentials into a temporary Keychain, notarize and verify the app, and publish the verified ZIP and SHA-256 checksum with generated release notes.

The publishing job alone receives contents: write. Tagged builds require all five Apple secrets and cannot fall back to ad hoc signing; manual branch builds produce an ad hoc signed artifact without publishing. The release script now supports an explicit signing Keychain and retains Apple's diagnostic log for failed or timed-out submissions. The workflow removes signing credentials even on failure.

The README documents the secrets and release commands. Remaining certificate/secret entry and the first live notarization run are tracked in #8.

Validation:

  • Seven synthetic credential-setup tests pass, including missing secrets, development/ambiguous identities, failed import, invalid notarization credentials, and malformed certificate encoding. These tests also run in macOS CI.
  • Both workflows pass actionlint 1.7.7; shell syntax and git diff --check pass.
  • All 62 portable MacDiff tests pass on Linux.
  • macOS CI passes the credential tests, full application test suite, and signed development-bundle build.
  • Developer ID signing, Apple notarization, and GitHub publication require the configured Actions secrets and remain unverified until the first release run.

@stuartd
stuartd merged commit 3e1a5c4 into main Oct 24, 2026
2 checks passed
@stuartd
stuartd deleted the codex/macdiff-notarized-tag-releases branch October 24, 2026 20:38
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