From c6c8ac092bf972d6f61bfb5a2e79b6b3273c6444 Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Thu, 27 Oct 2022 18:55:52 -0400 Subject: Fix conditional checks --- .ci/macos/notarize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.ci') diff --git a/.ci/macos/notarize.sh b/.ci/macos/notarize.sh index 7a67306d..2757d44c 100755 --- a/.ci/macos/notarize.sh +++ b/.ci/macos/notarize.sh @@ -11,7 +11,7 @@ export PATH security unlock-keychain -p "${RUNNER_USER_PW}" login.keychain -if [ "${CI_PIPELINE_TRIGGERED}" ] && [ "${TRIGGERED_BY}" = "cirrus" ]; then +if [ -n "${CI_PIPELINE_TRIGGERED:-}" ] && [ "${TRIGGERED_BY:-}" = "cirrus" ]; then echo "cirrus build id: ${TRIGGER_BUILD_ID}" cat "${TRIGGER_PAYLOAD}" # download the build artifacts from cirrus api -- cgit 1.4.1