Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion scripts/verify-release-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,13 @@ for arch in amd64 arm64; do
# Verify the nested service before the outer resource seal.
codesign --verify --strict --verbose=2 "$app_temp/Driga.app/Contents/Helpers/Driga Service.app"
codesign --verify --deep --strict --verbose=2 "$app_temp/Driga.app"
xcrun stapler validate "$app_temp/Driga.app"
# Validation fetches the ticket from Apple, which a runner's network can
# drop briefly, as build-macos-app.sh allows for when stapling.
for attempt in 1 2 3 4 5; do
xcrun stapler validate "$app_temp/Driga.app" && break
[ "$attempt" = 5 ] && exit 1
sleep 30
done
spctl --assess --type execute --verbose=2 "$app_temp/Driga.app"
rm -rf "$app_temp"
trap - EXIT
Expand Down
Loading