Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 36749b0

Browse files
authored
Set release version and base PyTorch version (#1036)
1 parent ba00a70 commit 36749b0

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

.circleci/config.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,20 @@ commands:
2323
- run:
2424
name: adding UPLOAD_CHANNEL to BASH_ENV
2525
command: |
26-
our_upload_channel=nightly
27-
# On tags upload to test instead
28-
if [[ -n "${CIRCLE_TAG}" ]] || [[ ${CIRCLE_BRANCH} =~ release/* ]]; then
29-
our_upload_channel=test
30-
fi
31-
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
26+
# Hardcoded for release branch
27+
echo "export UPLOAD_CHANNEL=test" >> ${BASH_ENV}
3228
3329
binary_common: &binary_common
3430
parameters:
3531
# Edit these defaults to do a release
3632
build_version:
3733
description: "version number of release binary; by default, build a nightly"
3834
type: string
39-
default: ""
35+
default: "0.8.0"
4036
pytorch_version:
4137
description: "PyTorch version to build against; by default, use a nightly"
4238
type: string
43-
default: ""
39+
default: "1.7.0"
4440
# Don't edit these
4541
python_version:
4642
description: "Python version to build against (e.g., 3.8)"

.circleci/config.yml.in

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,20 @@ commands:
2323
- run:
2424
name: adding UPLOAD_CHANNEL to BASH_ENV
2525
command: |
26-
our_upload_channel=nightly
27-
# On tags upload to test instead
28-
if [[ -n "${CIRCLE_TAG}" ]] || [[ ${CIRCLE_BRANCH} =~ release/* ]]; then
29-
our_upload_channel=test
30-
fi
31-
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
26+
# Hardcoded for release branch
27+
echo "export UPLOAD_CHANNEL=test" >> ${BASH_ENV}
3228

3329
binary_common: &binary_common
3430
parameters:
3531
# Edit these defaults to do a release
3632
build_version:
3733
description: "version number of release binary; by default, build a nightly"
3834
type: string
39-
default: ""
35+
default: "0.8.0"
4036
pytorch_version:
4137
description: "PyTorch version to build against; by default, use a nightly"
4238
type: string
43-
default: ""
39+
default: "1.7.0"
4440
# Don't edit these
4541
python_version:
4642
description: "Python version to build against (e.g., 3.8)"

0 commit comments

Comments
 (0)