From 4173f9d2214127e7d8a2fc7c84c9ef2715294c2d Mon Sep 17 00:00:00 2001 From: Abhinav Arora Date: Tue, 4 Oct 2022 12:22:02 -0700 Subject: [PATCH] Set release version, base PyTorch version and upload channel --- .circleci/config.yml | 12 ++++-------- .circleci/config.yml.in | 12 ++++-------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6a3339a34d..07341c62fa 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 upload channel for release + echo "export UPLOAD_CHANNEL=test" >> ${BASH_ENV} load_conda_channel_flags: description: "Determines whether we need extra conda channels" steps: @@ -43,11 +39,11 @@ binary_common: &binary_common build_version: description: "version number of release binary; by default, build a nightly" type: string - default: "" + default: "0.14.0" pytorch_version: description: "PyTorch version to build against; by default, use a nightly" type: string - default: "" + default: "1.13.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 77dbf581ac..eb01dbf22e 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 upload channel for release + echo "export UPLOAD_CHANNEL=test" >> ${BASH_ENV} load_conda_channel_flags: description: "Determines whether we need extra conda channels" steps: @@ -43,11 +39,11 @@ binary_common: &binary_common build_version: description: "version number of release binary; by default, build a nightly" type: string - default: "" + default: "0.14.0" pytorch_version: description: "PyTorch version to build against; by default, use a nightly" type: string - default: "" + default: "1.13.0" # Don't edit these python_version: description: "Python version to build against (e.g., 3.8)"