mirror of
https://github.com/zotero/zotero.git
synced 2026-10-02 02:11:33 +00:00
Some checks are pending
CI / Detect changes (push) Waiting to run
CI / Build, Upload (push) Waiting to run
CI / Test () (push) Blocked by required conditions
CI / Test (macOS NFS) (push) Blocked by required conditions
CI / Test (Windows arm64) (push) Blocked by required conditions
CI / Test (Windows x64) (push) Blocked by required conditions
CI / Utilities Tests (push) Waiting to run
If NOTARIZATION_PROFILE is set, notarize_mac_app and notarization_info authenticate with that stored notarytool profile (e.g., an App Store Connect API key) instead of an Apple ID and app-specific password, unlocking the keychain first if needed.
22 lines
378 B
Bash
Executable file
22 lines
378 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
ROOT_DIR="$(dirname "$SCRIPT_DIR")"
|
|
. "$ROOT_DIR/config.sh"
|
|
. "$SCRIPT_DIR/utils.sh"
|
|
|
|
function usage {
|
|
echo "Usage: $0 id"
|
|
exit 1
|
|
}
|
|
|
|
id=${1:-}
|
|
if [[ -z "$id" ]]; then
|
|
usage
|
|
fi
|
|
|
|
prepare_notary_auth
|
|
|
|
xcrun notarytool log "$id" "${notary_auth[@]}" notary_log.json
|
|
cat notary_log.json
|