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