mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
tools: check notarization status when verifying macOS binaries
Signed-off-by: Ulises Gascon <UlisesGascon@users.noreply.github.com> PR-URL: https://github.com/nodejs/node/pull/67541 Reviewed-By: Stewart X Addison <sxa@redhat.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
This commit is contained in:
1 parent
733b578c0d
commit
b50e7c3b2a
1 file changed
+1
-1
@@ -91,7 +91,7 @@ notarize_binary() {
|
||||
# There is nothing to staple to a bare binary, so the only way to confirm
|
||||
# the ticket is live is to have codesign look it up. spctl cannot be used
|
||||
# here: it rejects command line tools with "does not seem to be an app".
|
||||
if ! retry codesign --verify --verbose=2 -R=notarized "$1"; then
|
||||
if ! retry codesign --verify --verbose=2 --check-notarization -R=notarized "$1"; then
|
||||
echo "error: $1 will not be accepted by Gatekeeper!" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user