Update channel_restriction.sh

This commit is contained in:
Dan Albert
2020-10-04 10:28:12 -06:00
committed by GitHub
parent 34591d2f2f
commit 1b53f8b33d

View File

@ -1,10 +1,12 @@
#!/usr/bin/env bash #!/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 set -ex
[[ -n $CI_TAG ]] && exit 0
eval "$(ci/channel-info.sh)" eval "$(ci/channel-info.sh)"
for acceptable_channel in "$@"; do for acceptable_channel in "$@"; do