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