From 82e7725a424555731ef0b7d90085f8605b0b8369 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 17 Aug 2018 21:16:35 -0700 Subject: [PATCH] Invert logic --- ci/snap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/snap.sh b/ci/snap.sh index 72b54bc8d3..813ce6f6af 100755 --- a/ci/snap.sh +++ b/ci/snap.sh @@ -11,7 +11,7 @@ fi # when this script is run from a triggered pipeline, TRIGGERED_BUILDKITE_TAG is # used instead of BUILDKITE_TAG (due to Buildkite limitations that prevents # BUILDKITE_TAG from propagating through to triggered pipelines) -if [[ -z "$BUILDKITE_TAG" && -z "$TRIGGERED_BUILDKITE_TAG" ]]; then +if [[ -n "$BUILDKITE_TAG" || -n "$TRIGGERED_BUILDKITE_TAG" ]]; then SNAP_CHANNEL=stable elif [[ $BUILDKITE_BRANCH = master ]]; then SNAP_CHANNEL=edge