Skip to content

fix(release): do not overwrite stapled macOS artifacts - #359

Merged
mjmhK merged 1 commit into
mainfrom
fix/notarize-no-overwrite-stapled-artifacts
Aug 14, 2026
Merged

fix(release): do not overwrite stapled macOS artifacts#359
mjmhK merged 1 commit into
mainfrom
fix/notarize-no-overwrite-stapled-artifacts

Conversation

@mjmhK

@mjmhK mjmhK commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Gate macOS package steps with needs.resolve-release.outputs.notarize (not env.MACOS_NOTARIZE) so notarized and non-notarized paths cannot both run.
  • After notarized package, run stapler validate + spctl so we fail before uploading a broken ticket.

Root cause

CI log for the successful-looking v0.5.3 run showed:

  1. notarize path: The staple and validate action worked!
  2. then non-notarize path rebuilt the same DMG/ZIP without staple
  3. local install: spctlUnnotarized Developer ID, stapler validate → no ticket

Test plan

  • Merge and re-run Release App tag=v0.5.3 notarize=true prerelease=true
  • Confirm only one mac package step runs
  • Download DMG, spctl -a -vv accepts, stapler validate OK

The non-notarized package step ran after a successful notarize+staple
and overwrote DMG/ZIP, so Gatekeeper reported Unnotarized Developer ID.
Gate package steps on resolve-release notarize output and validate
staple/spctl before upload.
@mjmhK
mjmhK merged commit f76d7d3 into main Aug 14, 2026
13 checks passed
@mjmhK
mjmhK deleted the fix/notarize-no-overwrite-stapled-artifacts branch August 14, 2026 17:06
@github-actions github-actions Bot added the ci CI workflows, gates, and check scripts label Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI workflows, gates, and check scripts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant