Update channel_restriction.sh

This commit is contained in:
Dan Albert
2020-10-04 10:18:42 -06:00
committed by GitHub
parent 64c4861e04
commit 0a89a952c7

View File

@ -1,10 +1,12 @@
#!/usr/bin/env bash
#
# Only proceed if we are on one of the channels passed in when calling this file
# Only proceed if we are on one of the channels passed in, or a tag build
#
set -ex
[[ -n $CI_TAG ]] && exit 0
eval "$(ci/channel-info.sh)"
for acceptable_channel in "$@"; do