annotate deploy/osx/notarize.sh @ 729:cd4617b18960

Don't attempt to strip shell-scripts
author Chris Cannam
date Mon, 17 Dec 2018 09:50:16 +0000
parents c59c17665162
children
rev   line source
cannam@724 1 ## Before this, we need to open Application Loader and log in to the
cannam@724 2 ## right iTunes Connect account
cannam@724 3
cannam@724 4 echo "Not running - read, review, and update script first"
cannam@724 5 exit 1
cannam@724 6
cannam@724 7 xcrun altool --notarize-app -f "EasyMercurial-1.4.dmg" --primary-bundle-id org.easyhg.EasyMercurial -u "cannam+apple@all-day-breakfast.com" -p @keychain:"Application Loader: cannam+apple@all-day-breakfast.com"
cannam@724 8
cannam@724 9 ## That churns for a while and then dumps out a UUID
cannam@724 10
cannam@724 11 # xcrun altool --notarization-info UUID -u "cannam+apple@all-day-breakfast.com" -p @keychain:"Application Loader: cannam+apple@all-day-breakfast.com"
cannam@724 12
cannam@724 13 ## Returns "in progress" at first, then eventually a report with a URL
cannam@724 14 ## that can be retrieved as JSON payload using wget. An email is also
cannam@724 15 ## sent to the iTunes Connect account holder when it completes
cannam@724 16
cannam@724 17 # xcrun stapler staple -v "EasyMercurial-1.4.dmg"
cannam@724 18
cannam@724 19 # spctl -a -v "/Applications/EasyMercurial.app"
cannam@724 20