Skip to content

Commit

Permalink
CI: Fix file structure of the notarized app bundle
Browse files Browse the repository at this point in the history
Apparently this is a common mistake when using
ditto. The `--keepParent` flag should keep the
topmost folder in the archive as well, so it can
be properly notarized.
  • Loading branch information
YuriSizov committed Jun 6, 2024
1 parent 2665ebb commit 813e69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/sign-godot-project/macos/sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ codesign --verify "${app_path}"

echo "Archiving and notarizing the signed app..."

ditto -ck "${app_path}" "${archive_path}"
ditto -ck --keepParent "${app_path}" "${archive_path}"
xcrun notarytool submit "${archive_path}" --apple-id ${apple_dev_id} --team-id ${apple_dev_team_id} --password ${apple_dev_password} --wait

echo "Stapling the notarization ticket to the signed app..."
Expand Down

0 comments on commit 813e69e

Please sign in to comment.