diff --git a/tools/osx-notarize.sh b/tools/osx-notarize.sh index 300173dd7fe0e9..bd7ae48a8b15c0 100755 --- a/tools/osx-notarize.sh +++ b/tools/osx-notarize.sh @@ -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." \ No newline at end of file