From 2b44d5fb6ae7d4e19cd14f31e0cc582c8546000c Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 12 Nov 2018 21:16:53 -0800 Subject: [PATCH] Fix snap PR builds --- ci/snap.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ci/snap.sh b/ci/snap.sh index 37c4bcf78..d53050018 100755 --- a/ci/snap.sh +++ b/ci/snap.sh @@ -11,10 +11,15 @@ if ! ci/version-check.sh stable; then fi DRYRUN= -if [[ -z $BUILDKITE_BRANCH ]] || ./ci/is-pr.sh; then +if [[ -z $BUILDKITE_BRANCH ]]; then DRYRUN="echo" fi +if ./ci/is-pr.sh; then + DRYRUN="echo" + CHANNEL="none (pullrequest)" +fi + eval "$(ci/channel-info.sh)" if [[ $BUILDKITE_BRANCH = "$STABLE_CHANNEL" ]]; then