Skip to content

Commit 6fd30f7

Browse files
committed
tools: add macOS notarization stapler
PR-URL: nodejs/node#50625 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent e95f5dd commit 6fd30f7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

graal-nodejs/tools/osx-notarize.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ xcrun notarytool submit \
4848

4949
if [ $? -eq 0 ]; then
5050
echo "Notarization node-$pkgid.pkg submitted successfully."
51-
exit 0
5251
else
5352
echo "Notarization node-$pkgid.pkg failed."
5453
exit 1
5554
fi
55+
56+
xcrun stapler staple "node-$pkgid.pkg"
57+
echo "Stapler was successful."

0 commit comments

Comments
 (0)