tools: use macOS keychain to notarize the releases

PR-URL: https://github.com/nodejs/node/pull/50715
Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
Ulises Gascón
2023-11-13 18:47:27 +01:00
committed by Michael Dawson
parent d50eb3760c
commit 5f973d1dfd

View File

@@ -34,15 +34,10 @@ then
exit 1
fi
# Submit the package for notarization
# TODO(@ulisesGascon): refactor to use --keychain-profile
# when https://github.com/nodejs/build/issues/3385#issuecomment-1729281269 is ready
echo "Submitting node-$pkgid.pkg for notarization..."
xcrun notarytool submit \
--apple-id "$NOTARIZATION_ID" \
--password "$NOTARIZATION_PASSWORD" \
--team-id "$NOTARIZATION_TEAM_ID" \
--keychain-profile "NODE_RELEASE_PROFILE" \
--wait \
"node-$pkgid.pkg"