Skip to content
Snippets Groups Projects
Commit 54171dbc authored by Andrey Lihatskiy's avatar Andrey Lihatskiy
Browse files

SL-15585 more logging for altool

parent 11635dc5
No related branches found
No related tags found
No related merge requests found
...@@ -6,12 +6,12 @@ if [ -f "$CONFIG_FILE" ]; then ...@@ -6,12 +6,12 @@ if [ -f "$CONFIG_FILE" ]; then
zip_file=${app_file/app/zip} zip_file=${app_file/app/zip}
ditto -c -k --keepParent "$app_file" "$zip_file" ditto -c -k --keepParent "$app_file" "$zip_file"
if [ -f "$zip_file" ]; then if [ -f "$zip_file" ]; then
requestUUID=$(xcrun altool --notarize-app --primary-bundle-id "com.secondlife.viewer" \ res=$(xcrun altool --notarize-app --primary-bundle-id "com.secondlife.viewer" \
--username $USERNAME \ --username $USERNAME \
--password $PASSWORD \ --password $PASSWORD \
--asc-provider $ASC_PROVIDER \ --asc-provider $ASC_PROVIDER \
--file "$zip_file" 2>&1 \ --file "$zip_file" 2>&1)
| awk '/RequestUUID/ { print $NF; }') requestUUID=$(echo $res | awk '/RequestUUID/ { print $NF; }')
echo "Apple Notarization RequestUUID: $requestUUID" echo "Apple Notarization RequestUUID: $requestUUID"
...@@ -41,6 +41,7 @@ if [ -f "$CONFIG_FILE" ]; then ...@@ -41,6 +41,7 @@ if [ -f "$CONFIG_FILE" ]; then
fi fi
else else
echo "Notarization error: couldn't get request UUID" echo "Notarization error: couldn't get request UUID"
echo $res
exit 1 exit 1
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment