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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

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