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 authored and richardlau committed Jan 16, 2024
1 parent 75049b0 commit 03ff182
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 03ff182

Please sign in to comment.