Skip to content

Commit

Permalink
tools: add macOS notarization stapler
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#50625
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
sercher committed Apr 25, 2024
1 parent e95f5dd commit 6fd30f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion graal-nodejs/tools/osx-notarize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."

0 comments on commit 6fd30f7

Please sign in to comment.