2023-04-23 07:57:55 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
ROOT_DIR="$(dirname "$SCRIPT_DIR")"
|
|
|
|
. "$ROOT_DIR/config.sh"
|
|
|
|
|
|
|
|
function usage {
|
|
|
|
echo "Usage: $0 id"
|
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
|
|
|
|
id=${1:-}
|
|
|
|
if [[ -z "$id" ]]; then
|
|
|
|
usage
|
|
|
|
fi
|
|
|
|
|
2023-06-19 10:38:34 +00:00
|
|
|
xcrun notarytool log "$id" --apple-id "$NOTARIZATION_USER" --team-id "$NOTARIZATION_TEAM_ID" --password "$NOTARIZATION_PASSWORD" notary_log.json
|
|
|
|
cat notary_log.json
|