summary refs log tree commit diff
path: root/.ci/macos/notarize.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/macos/notarize.sh')
-rwxr-xr-x.ci/macos/notarize.sh2
1 files changed, 1 insertions, 1 deletions
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