@@ -62,13 +62,16 @@ codesign -s "OpenShot Studios, LLC" --force --deep --options runtime --timestamp
62
62
echo " Verifying App Signing"
63
63
spctl -a -vv " build/$OS_APP_NAME "
64
64
65
- echo " Create Zip of .App for Notarization "
66
- ditto -c -k --keepParent " build/ $OS_APP_NAME " " build/$OS_APP_ZIP "
65
+ echo " Building Custom DMG "
66
+ appdmg " installer/dmg-template.json " " build/$OS_DMG_NAME "
67
67
68
- echo " Notarize Zip file (send to apple)"
68
+ echo " Code Sign DMG"
69
+ codesign -s " OpenShot Studios, LLC" --force --timestamp=http://timestamp.apple.com/ts01 " build/$OS_DMG_NAME "
70
+
71
+ echo " Notarize DMG file (send to apple)"
69
72
# No errors uploading '/Users/jonathan/builds/7d5103a1/0/OpenShot/openshot-qt/build/test.zip'.
70
73
# RequestUUID = cc285719-823f-4f0b-8e71-2df4bbbdaf72
71
- notarize_output=
$( xcrun altool --notarize-app --primary-bundle-id " org.openshot.openshot-qt.zip" --username " [email protected] " --password " @keychain:NOTARIZE_AUTH" --file " build/$OS_APP_ZIP " )
74
+ notarize_output=
$( xcrun altool --notarize-app --primary-bundle-id " org.openshot.openshot-qt.zip" --username " [email protected] " --password " @keychain:NOTARIZE_AUTH" --file " build/$OS_DMG_NAME " )
72
75
echo " $notarize_output "
73
76
74
77
echo " Parse Notarize Output and get Notarization RequestUUID"
@@ -100,18 +103,12 @@ while [ $(( $(date +%s) - 3600 )) -lt $START ]; do
100
103
break
101
104
fi
102
105
103
- # Wait 30 seconds
104
- sleep 10
106
+ # Wait a few seconds
107
+ sleep 30
105
108
done
106
109
107
- echo " Staple Notarization Ticket to App"
108
- xcrun stapler staple " build/$OS_APP_NAME "
109
-
110
- echo " Building Custom DMG"
111
- appdmg " installer/dmg-template.json" " build/$OS_DMG_NAME "
112
-
113
- echo " Code Sign DMG"
114
- codesign -s " OpenShot Studios, LLC" --force --timestamp=http://timestamp.apple.com/ts01 " build/$OS_DMG_NAME "
110
+ echo " Check Notarization Progress... (list recent notarization records)"
111
+ xcrun altool --notarization-history 0 -u
" [email protected] " -p
" @keychain:NOTARIZE_AUTH"
115
112
116
113
echo " Staple Notarization Ticket to DMG"
117
114
xcrun stapler staple " build/$OS_DMG_NAME "
0 commit comments