Add full credentials to keychain for notarytool

meow-7.2.2
Beq 2024-03-28 11:02:26 +00:00
parent 35b746d43c
commit edc8d6522e
1 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,11 @@ if [[ -f "$CONFIG_FILE" ]]; then
zip_file=${app_file/app/zip}
ditto -c -k --keepParent "$app_file" "$zip_file"
if [[ -f "$zip_file" ]]; then
res=$(xcrun notarytool store-credentials \
--keychain-profile viewer.keychain-db \
--username $USERNAME \
--password $PASSWORD 2>&1)
echo $res
res=$(xcrun notarytool submit "$zip_file" \
--keychain-profile viewer.keychain-db \
--verbose \