summaryrefslogtreecommitdiff
path: root/indra/newview/installers
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2021-06-08 05:06:21 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2021-06-08 05:06:21 +0300
commit0a745b47880fb16b1db8cd3327377a383dbfe6a8 (patch)
treee96e11b0083858ce6f70d67f3ea818c13bc43b29 /indra/newview/installers
parent4cec2d689f9a7d1791f7ea3933cc1cdc59e972ab (diff)
Revert "Merge branch 'DRTVWR-520-apple-notarization' into DRTVWR-540-maint"
This reverts commit 681298dd726b2d00910fe71646147fadd1aba980, reversing changes made to 323f41f4892248762fc8505d8df17d70bd833cf3.
Diffstat (limited to 'indra/newview/installers')
-rwxr-xr-xindra/newview/installers/darwin/apple-notarize.sh44
1 files changed, 0 insertions, 44 deletions
diff --git a/indra/newview/installers/darwin/apple-notarize.sh b/indra/newview/installers/darwin/apple-notarize.sh
deleted file mode 100755
index b953af81af..0000000000
--- a/indra/newview/installers/darwin/apple-notarize.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-CONFIG_FILE="$build_secrets_checkout/code-signing-osx/notarize_creds.sh"
-if [ -f "$CONFIG_FILE" ]; then
- source $CONFIG_FILE
- app_file="$1"
- zip_file=${app_file/app/zip}
- ditto -c -k --keepParent "$app_file" "$zip_file"
- if [ -f "$zip_file" ]; then
- requestUUID=$(xcrun altool --notarize-app --primary-bundle-id "com.secondlife.viewer" \
- --username $USERNAME \
- --password $PASSWORD \
- --asc-provider $ASC_PROVIDER \
- --file "$zip_file" 2>&1 \
- | awk '/RequestUUID/ { print $NF; }')
-
- echo "Apple Notarization RequestUUID: $requestUUID"
-
- if [[ -n $requestUUID ]]; then
- status="in progress"
- while [[ "$status" == "in progress" ]]; do
- sleep 30
- status=$(xcrun altool --notarization-info "$requestUUID" \
- --username $USERNAME \
- --password $PASSWORD 2>&1 \
- | awk -F ': ' '/Status:/ { print $2; }' )
- echo "$status"
- done
- # log results
- xcrun altool --notarization-info "$requestUUID" \
- --username $USERNAME \
- --password $PASSWORD
-
- #remove temporary file
- rm "$zip_file"
-
- if [["$status" == "success"]]; then
- xcrun stapler staple "$app_file"
- elif [["$status" == "invalid"]]; then
- exit 1
- fi
- fi
- fi
-fi
-