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:
Ulises Gascón authored and Michaël Zasso committed 2023-11-14 09:18:06 +01:00
1 parent 8be718a0bd
commit 5fcd67a8ea
1 file changed
+3 -1
+3 -1
View File
@@ -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."