tools: retry Gatekeeper check and stapling after notarization · nodejs/node@9dc4bb5 · GitHub
Skip to content

Commit 9dc4bb5

Browse files
ryanaslettaduh95
authored andcommitted
tools: retry Gatekeeper check and stapling after notarization
Apple's ticket service can lag behind notarytool reporting "Accepted", which makes the spctl assessment fail with "source=Unnotarized Developer ID" even though the package was notarized. Retry spctl and stapler with exponential backoff (up to ~7.5 minutes) before failing, and fail the script if stapling does not succeed instead of ignoring its exit status. Refs: nodejs/build#4527 Signed-off-by: Ryan Aslett <raslett@linuxfoundation.org> PR-URL: #66855 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com>
1 parent 8dc18a6 commit 9dc4bb5

1 file changed

Lines changed: 21 additions & 2 deletions

File tree

‎tools/osx-notarize.sh‎

Lines changed: 21 additions & 2 deletions

0 commit comments

Comments
 (0)