Skip to content

fix: staple macOS app before packaging DMG#20

Merged
seatedro merged 1 commit into
masterfrom
macos-notarization-staple-app
May 6, 2026
Merged

fix: staple macOS app before packaging DMG#20
seatedro merged 1 commit into
masterfrom
macos-notarization-staple-app

Conversation

@seatedro
Copy link
Copy Markdown
Owner

@seatedro seatedro commented May 6, 2026

Summary

  • Notarize the signed .app as a zip and staple the app before copying it into the DMG staging directory.
  • Continue notarizing and stapling the final DMG.
  • Switch base64 decode invocations to base64 -d for portable short-option usage.

Why

The manual package workflow produced a successful x64 DMG, but local validation showed the DMG itself was stapled while the Diffy.app inside the mounted DMG was not. The previous script stapled dist/packages/Diffy.app after creating the DMG, so the shipped copy inside the DMG missed the app ticket.

Validation

  • bash -n scripts/package-macos-release.sh
  • YAML parse of .github/workflows/package.yml
  • Manual workflow run 25410588037 confirmed secrets/certificate import and x64 DMG notarization, and exposed the missing app-ticket issue in the mounted app.

@seatedro seatedro merged commit 40d3318 into master May 6, 2026
5 checks passed
@seatedro seatedro deleted the macos-notarization-staple-app branch May 6, 2026 04:29
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