Only check CHANNEL_BRANCH if TESTNET_TAG is not set from buildkite (#3698)

This commit is contained in:
Dan Albert
2019-04-09 14:12:05 -07:00
committed by GitHub
parent bee5e34ad0
commit 6b9e4fe6b3

View File

@ -75,6 +75,9 @@ source scripts/configure-metrics.sh
ci/channel-info.sh ci/channel-info.sh
eval "$(ci/channel-info.sh)" eval "$(ci/channel-info.sh)"
if [[ -n $TESTNET_TAG ]]; then
CHANNEL_OR_TAG=$TESTNET_TAG
else
case $TESTNET in case $TESTNET in
testnet-edge|testnet-edge-perf) testnet-edge|testnet-edge-perf)
CHANNEL_OR_TAG=edge CHANNEL_OR_TAG=edge
@ -113,6 +116,7 @@ EOF
) | buildkite-agent pipeline upload ) | buildkite-agent pipeline upload
exit 0 exit 0
fi fi
fi
sanity() { sanity() {