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 <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
UlisesGascon committed Dec 11, 2023
1 parent a376284 commit 797f6a9
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 797f6a9

Please sign in to comment.