From 1814a1aaf639ac46e06cddb1435403d324bc5e0b Mon Sep 17 00:00:00 2001 From: moto <855818+mthrok@users.noreply.github.com> Date: Tue, 8 Dec 2020 10:38:06 -0800 Subject: [PATCH] Hard code package channel for release branch --- .circleci/config.yml | 8 ++------ .circleci/config.yml.in | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index de7154fe38..4d4b98365c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,12 +32,8 @@ commands: - run: name: adding UPLOAD_CHANNEL to BASH_ENV command: | - our_upload_channel=nightly - # On tags upload to test instead - if [[ -n "${CIRCLE_TAG}" ]] || [[ ${CIRCLE_BRANCH} =~ release/* ]]; then - our_upload_channel=test - fi - echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV} + # Hardcoded for release branch + echo "export UPLOAD_CHANNEL=test" >> ${BASH_ENV} install_build_tools_macos: description: "installs tools required to build torchaudio" steps: diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index d188fe4477..a9275a8122 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -32,12 +32,8 @@ commands: - run: name: adding UPLOAD_CHANNEL to BASH_ENV command: | - our_upload_channel=nightly - # On tags upload to test instead - if [[ -n "${CIRCLE_TAG}" ]] || [[ ${CIRCLE_BRANCH} =~ release/* ]]; then - our_upload_channel=test - fi - echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV} + # Hardcoded for release branch + echo "export UPLOAD_CHANNEL=test" >> ${BASH_ENV} install_build_tools_macos: description: "installs tools required to build torchaudio" steps: