Repository navigation
Sign and notarise the macOS release, and lay out its disk image - #206
Merged
Merged
Conversation
dmgbuild is installed on macOS only, so pylint on the Linux lint job could not resolve the import and reported it as an introduced import-error. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
What
The release page already says the macOS disk images are signed and notarised
(
f810bc3); this is the workflow that makes it true, plus the disk image layout theother LEAPPs ship.
Signing and notarisation (
.github/workflows/release.yml), on both macOS legs,when the
MACOS_*secrets are set:dist/GLEAPP.appis codesigned inside out (everyMach-O first, then the bundle) with the hardened runtime and
packaging/entitlements.plist, then checked withcodesign --verify --strictandbuild.py verify --subject <team id>;--version,--texworker,--selfcheck),because the hardened runtime is what breaks a frozen app and the existing smoke test
runs the unsigned one-folder build;
.dmgis signed, submitted withnotarytool --wait, stapled andassessed with
spctl; a rejection prints Apple's log, which names the file;A tag refuses to publish without the secrets; a dispatched rehearsal still builds,
unsigned. Windows is unchanged and still unsigned.
Disk image layout: the
.dmgis built withdmgbuildinstead of a barehdiutil create, so it opens onpackaging/dmg_background.pngwith the app on the leftand an Applications link on the right, the layout iLEAPP and the others use.
dmgbuildwrites the Finder's.DS_Storeitself, with no Finder or AppleScript, so itbuilds the same headless;
hdiutil verifystill runs before the image is reported. It ispinned in the
[build]extra under a darwin marker and never reaches the app.build.py verifynow accepts a.appbundle on macOS: it refused anything that was nota file, so it failed on "dist/GLEAPP.app: no such file" right after codesign had
reported the bundle valid.
Secrets this needs in abrignoni/GLEAPP
MACOS_CERT_P12(base64 of the Developer ID Application .p12),MACOS_CERT_PASSWORD,MACOS_SIGN_IDENTITY,MACOS_TEAM_ID, and an App Store Connect team API key:MACOS_NOTARY_KEY(the .p8 contents),MACOS_NOTARY_KEY_ID,MACOS_NOTARY_ISSUER_ID.Verified
builds green; on arm64 and on Intel, notarisation
Accepted, stapled, andspctlreports
source=Notarized Developer ID; the signed app passed--version,--texworkerand--selfcheckon both.tests/test_build_macos.py: the dmg layout and window size on every platform; onmacOS, a real image built, mounted and inspected, and an ad-hoc-signed bundle
accepted by
verify(that test fails on the code before the change).main.🤖 Generated with Claude Code