Browse Source

Minor

master
Nicolas Hafner 11 months ago
parent
commit
f9122a6f2c
Signed by: shinmera GPG Key ID: E12B14478BE4C922
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      build/package.sh

+ 3
- 4
build/package.sh View File

@ -49,14 +49,13 @@ function certify() {
function notarize() {
local package="$1"
local ticket=$(xcrun altool --notarize-app \
local result=$(xcrun altool --notarize-app \
--file "$package" \
--primary-bundle-id "org.shirakumo.portacle" \
--username "$NOTAR_EMAIL" \
--password "@keychain:AC_PASSWORD" \
--asc-provider "$CERT_CN"
| grep "RequestUUID"
| awk '{print $3}')
--asc-provider "$CERT_CN")
local ticket=$(echo "$result" | grep "RequestUUID" | awk '{print $3}')
[ -z "$ticket" ] \
&& eexit "Failed to notarize app."
echo "$ticket" > $SCRIPT_DIR/.notarization-ticket

Loading…
Cancel
Save