Automate Apple's Sign- and Notarization-Process from commandline.
With theses scripts, you can easily sign and notarize macOS Apps, PKGs and DMGs. No more commandline parameters to remember. Just setup the baked-in credentials and you are good to go.
Setup:
# Setup.start
#
# The ID of your "Developer ID Application", assigned to your Keyring.
# This is usually your first- and lastname:
#
ID="Your Name"
#
# Setup.end
Usage:
./sign application.app
Setup:
# Setup.start
#
USR="[email protected]" # Your Apple dev account's email address
PWD="xxxx-xxxx-xxxx-xxxx" # Your app specific password, NOT your login password
TEAM="xxxxxxxx" # Your dev team ID
#
# Setup.end
Usage:
./notarize application.app