Repository navigation
[CI] Keep the macOS release zip's code signature intact - #662
Merged
yorkyang2333 merged 1 commit intoDec 4, 2026
Merged
Conversation
upload-artifact drops Unix permissions and hidden files and replaces symlinks with copies, so uploading out/godot/macos/release/ as a bare directory broke the code-signing seal of Aether.app. The release job then re-zipped that damaged tree, and the published macOS zip failed `codesign --verify` and had no executable bits, so it could not launch. Archive the bundle with ditto in the macOS build job, verify that the archive round-trips to a validly signed app, and upload only the archive. The release job now publishes that archive as-is instead of re-zipping.
yorkyang2333
approved these changes
Dec 4, 2026
yorkyang2333
left a comment
Member
There was a problem hiding this comment.
Reproduced this issue for me as well.
One thing that concerns me is the recursive zip archives, but we may tweak this later. Other changes LGTM.
Thanks!
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.
Issue
The macOS zip in the 1.2.3 release does not launch. The extracted
Aether.appfails
codesign --verify --deep --strict("a sealed resource is missing orinvalid"), and none of its files are executable, including
Contents/MacOS/Aether.The build job verifies the app successfully, then uploads
out/godot/macos/release/as a bare directory.actions/upload-artifact:(
renpy-runtime/lib/py3-mac-universal,n2system-runtime/Fonts,greenlet/_greenlet.cpython-312-darwin.so)renpy-runtime/.aether-runtime-ready.json)The release job then zips that altered tree, so the published bundle no longer
matches its seal.
Fix
Aether.appwithditto -c -k --keepParent,extracts the archive again, verifies the signature, and uploads only the
archive.
AetherKiri-<tag>-macos.zipinstead of re-zipping. The asset name and top-level layout (
Aether.app/)are unchanged.
Verification
and permissions. It passes, and the archive keeps all 3 symlinks and the
executable bits.
It fails on the modified file, the two missing symlinks and the missing
hidden file.
Not in this PR
The zip is still ad-hoc signed, so a downloaded copy is quarantined and
Gatekeeper asks for approval in System Settings on first launch. Opening it
without that step would need a Developer ID Application certificate and
notarization. The existing App Store Connect API key could probably be reused
for
notarytool.