From 3e383e67ff7db16eb74545658888822ded2cc28f Mon Sep 17 00:00:00 2001 From: moto <855818+mthrok@users.noreply.github.com> Date: Wed, 14 Oct 2020 17:00:10 +0000 Subject: [PATCH 1/2] Set release version and base PyTorch version --- .circleci/config.yml | 4 ++-- .circleci/config.yml.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8e1e219e09..b8ae711b7b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,11 +36,11 @@ binary_common: &binary_common build_version: description: "version number of release binary; by default, build a nightly" type: string - default: "" + default: "0.8.0" pytorch_version: description: "PyTorch version to build against; by default, use a nightly" type: string - default: "" + default: "1.7.0" # Don't edit these python_version: description: "Python version to build against (e.g., 3.8)" diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index 770393a0f3..e74df83167 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -36,11 +36,11 @@ binary_common: &binary_common build_version: description: "version number of release binary; by default, build a nightly" type: string - default: "" + default: "0.8.0" pytorch_version: description: "PyTorch version to build against; by default, use a nightly" type: string - default: "" + default: "1.7.0" # Don't edit these python_version: description: "Python version to build against (e.g., 3.8)" From ec458812387ae22fb5e5fe364b7bf088c63b426e Mon Sep 17 00:00:00 2001 From: moto <855818+mthrok@users.noreply.github.com> Date: Thu, 15 Oct 2020 20:50:47 +0000 Subject: [PATCH 2/2] Hard code UPLOAD_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 b8ae711b7b..490890850d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,12 +23,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} binary_common: &binary_common parameters: diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index e74df83167..3851fe1cd3 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -23,12 +23,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} binary_common: &binary_common parameters: