diff --git a/Utilities/Release/macos/sign-notarize.bash b/Utilities/Release/macos/sign-notarize.bash index 83835d21e4..1eccf8311a 100755 --- a/Utilities/Release/macos/sign-notarize.bash +++ b/Utilities/Release/macos/sign-notarize.bash @@ -1,14 +1,14 @@ #!/usr/bin/env bash set -e -readonly usage='usage: sign-notarize.bash -i -k [--] .dmg +readonly usage='usage: sign-notarize.bash ... [--] .dmg Sign and notarize the "CMake.app" bundle inside the given ".dmg" disk image. Also produce a ".tar.gz" tarball containing the same "CMake.app". Options: - -i Signing Identity - -k Keychain profile containing stored credentials + -id Signing Identity + -kp Keychain profile containing notarization credentials. Create the keychain profile ahead of time using @@ -45,8 +45,8 @@ id='' keychain_profile='' while test "$#" != 0; do case "$1" in - -i) shift; id="$1" ;; - -k) shift; keychain_profile="$1" ;; + -id|-i) shift; id="$1" ;; + -kp|-k|--keychain-profile) shift; keychain_profile="$1" ;; --) shift ; break ;; -*) die "$usage" ;; *) break ;;