mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
tools: add macOS notarization verification step
PR-URL: https://github.com/nodejs/node/pull/50833 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
parent
4e713a3930
commit
83df02c180
1 changed files with 7 additions and 0 deletions
|
@ -48,5 +48,12 @@ else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! xcrun spctl --assess --type install --context context:primary-signature --ignore-cache --verbose=2 "node-$pkgid.pkg"; then
|
||||||
|
echo "error: Signature will not be accepted by Gatekeeper!" 1>&2
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "Verification was successful."
|
||||||
|
fi
|
||||||
|
|
||||||
xcrun stapler staple "node-$pkgid.pkg"
|
xcrun stapler staple "node-$pkgid.pkg"
|
||||||
echo "Stapler was successful."
|
echo "Stapler was successful."
|
Loading…
Add table
Add a link
Reference in a new issue