Skip to content

Commit

Permalink
tools: add macOS notarization stapler
Browse files Browse the repository at this point in the history
PR-URL: #50625
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
UlisesGascon authored and targos committed Nov 14, 2023
1 parent 8be718a commit 5fcd67a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 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 5fcd67a

Please sign in to comment.