Skip to content

Commit 28f790f

Browse files
committed
Fix notarization regex syntax issue
1 parent 3b66056 commit 28f790f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

installer/build-mac-dmg.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,16 @@ notarize_output=$(xcrun altool --notarize-app --primary-bundle-id "org.openshot.
7272
echo "$notarize_output"
7373

7474
echo "Parse Notarize Output and get Notarization RequestUUID"
75-
pat='RequestUUID\s=\s(.*)\\'
75+
pat='RequestUUID = (.*)'
7676
[[ "$notarize_output" =~ $pat ]]
77-
REQUEST_UUID="${BASH_REMATCH[0]}"
77+
REQUEST_UUID="${BASH_REMATCH[1]}"
7878
echo " RequestUUID Found: $REQUEST_UUID"
7979

8080
echo "Check Notarization Progress... (list recent notarization records)"
8181
xcrun altool --notarization-history 0 -u "[email protected]" -p "@keychain:NOTARIZE_AUTH"
8282

8383
echo "Check Notarization Info (loop until status detected)"
8484
# No errors getting notarization info.
85-
#
8685
# Date: 2020-07-05 21:22:35 +0000
8786
# Hash: ef939ddefec14d7f0b7fe467c5761cdccab3414425a33c066a5629dd71eff626
8887
# RequestUUID: cc285719-823f-4f0b-8e71-2df4bbbdaf72

0 commit comments

Comments
 (0)