Fix snap PR builds

This commit is contained in:
Michael Vines 2018-11-12 21:16:53 -08:00 committed by Grimes
parent 10e1e0c125
commit 2b44d5fb6a
1 changed files with 6 additions and 1 deletions

View File

@ -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