Skip to content

Commit

Permalink
Migrate from altool to notarytool
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSazonov committed Jun 14, 2024
1 parent 8ea86d2 commit 5857f00
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions tools/Scripts/SignAppInstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,14 @@ def signMacos():
try:
sub_message = f'notarize app installer "{CONFIG.setup_zip_path_short}" for distribution outside of the Mac App Store' # Notarize the app by submitting a zipped package of the app bundle
Functions.run(
'xcrun', 'altool',
'--notarize-app',
'--file', CONFIG.setup_zip_path_short,
'--type', 'macos',
'--primary-bundle-id', CONFIG['ci']['codesign']['bundle_id'],
'--username', APPSTORE_NOTARIZATION_USERNAME,
'--password', APPSTORE_NOTARIZATION_PASSWORD)
'xcrun', 'notarytool', 'submit',
'--apple-id', APPSTORE_NOTARIZATION_USERNAME,
'--team-id', 'W2AG9MPZ43',
'--password', APPSTORE_NOTARIZATION_PASSWORD,
'--verbose',
'--progress',
'--wait',
CONFIG.setup_zip_path_short)
except Exception as sub_exception:
Functions.printFailMessage(sub_message, sub_exception)
sys.exit(1)
Expand Down

0 comments on commit 5857f00

Please sign in to comment.