Improve notarization zip handling
This commit is contained in:
parent
04dcc2cc74
commit
157b74e8b0
1 changed files with 8 additions and 3 deletions
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
|
@ -80,10 +80,15 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
APP_PATH="build/Build/Products/Release/GhosttyTabs.app"
|
||||
ZIP_PATH="GhosttyTabs-macos.zip"
|
||||
ditto -c -k --sequesterRsrc --keepParent "$APP_PATH" "$ZIP_PATH"
|
||||
xcrun notarytool submit "$ZIP_PATH" --apple-id "$APPLE_ID" --team-id "$APPLE_TEAM_ID" --password "$APPLE_APP_SPECIFIC_PASSWORD" --wait
|
||||
ZIP_SUBMIT="GhosttyTabs-notary.zip"
|
||||
ZIP_RELEASE="GhosttyTabs-macos.zip"
|
||||
ditto -c -k --sequesterRsrc --keepParent "$APP_PATH" "$ZIP_SUBMIT"
|
||||
xcrun notarytool submit "$ZIP_SUBMIT" --apple-id "$APPLE_ID" --team-id "$APPLE_TEAM_ID" --password "$APPLE_APP_SPECIFIC_PASSWORD" --wait
|
||||
xcrun stapler staple "$APP_PATH"
|
||||
xcrun stapler validate "$APP_PATH"
|
||||
spctl -a -vv --type execute "$APP_PATH"
|
||||
rm -f "$ZIP_RELEASE"
|
||||
ditto -c -k --sequesterRsrc --keepParent "$APP_PATH" "$ZIP_RELEASE"
|
||||
|
||||
- name: Upload release asset
|
||||
uses: softprops/action-gh-release@v2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue