mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
tools: add macOS notarization stapler
PR-URL: https://github.com/nodejs/node/pull/50625 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
8be718a0bd
commit
5fcd67a8ea
1 file changed
+3
-1
@@ -48,8 +48,10 @@ xcrun notarytool submit \
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Notarization node-$pkgid.pkg submitted successfully."
|
||||
exit 0
|
||||
else
|
||||
echo "Notarization node-$pkgid.pkg failed."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
xcrun stapler staple "node-$pkgid.pkg"
|
||||
echo "Stapler was successful."
|
||||
Reference in new issue
Block a user