Skip to content

Commit eb763ea

Browse files
committed
Use the new notarytool
1 parent 463e1f3 commit eb763ea

File tree

2 files changed

+4
-59
lines changed

2 files changed

+4
-59
lines changed

Diff for: bin/notarize_vimr.sh

+4-13
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,12 @@ main() {
88
echo "### Notarizing"
99
ditto -c -k --keepParent VimR.app VimR.app.zip
1010

11-
echo "#### Uploading"
12-
local -x request_uuid
13-
request_uuid=$(xcrun altool --notarize-app --primary-bundle-id "com.qvacua.VimR" --username "[email protected]" --password "@keychain:dev-notar" --file VimR.app.zip | grep RequestUUID | sed -E 's/.* = (.*)/\1/')
14-
readonly request_uuid
15-
16-
echo "#### Uploaded"
17-
echo "Use 'xcrun altool --notarization-history 0 -u [email protected] -p @keychain:dev-notar' or"
18-
echo "'xcrun altool --notarization-info ${request_uuid} -u [email protected] -p @keychain:dev-notar'"
11+
echo "#### Notarizing"
12+
xcrun notarytool submit VimR.app.zip \
13+
--keychain-profile "apple-dev-notar" \
14+
--wait
1915
popd >/dev/null
2016

21-
pushd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null
22-
echo "#### Waiting for notarization ${request_uuid} to finish"
23-
./bin/wait_for_notarization.py
24-
popd </dev/null
25-
2617
pushd "${vimr_app_path}/.." >/dev/null
2718
xcrun stapler staple VimR.app
2819
echo "### Notarization finished"

Diff for: bin/wait_for_notarization.py

-46
This file was deleted.

0 commit comments

Comments
 (0)