From 8a12ed0a54faf04b98c281d3c7935cf91575ff1b Mon Sep 17 00:00:00 2001 From: Claude Fable 5 Date: Sat, 5 Sep 2026 10:03:48 +0400 Subject: [PATCH] release: NOTARIZED is 0/1, compare numerically Co-Authored-By: Claude Fable 5.1 --- scripts/publish-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish-update.sh b/scripts/publish-update.sh index fb8c231..37c70d9 100755 --- a/scripts/publish-update.sh +++ b/scripts/publish-update.sh @@ -359,7 +359,7 @@ SPCTL_STATUS=$? set -e echo "${SPCTL_OUTPUT}" if [[ "${SPCTL_STATUS}" -ne 0 ]] || ! grep -qi 'accepted' <<<"${SPCTL_OUTPUT}"; then - if [[ "${NOTARIZED}" == "true" ]]; then + if [[ "${NOTARIZED}" -eq 1 ]]; then echo "spctl did not report accepted for ${APP_BUNDLE} although it was notarized." >&2 exit 1 fi