Skip to content

Commit 5fcd67a

Browse files
UlisesGascontargos
authored andcommitted
tools: add macOS notarization stapler
PR-URL: #50625 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 8be718a commit 5fcd67a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/osx-notarize.sh

Lines changed: 3 additions & 1 deletion
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)