Skip to content

Commit 70caaf8

Browse files
authored
.circleci: set versions, set upload_channel (#114)
Release branch specific changes Signed-off-by: Eli Uriegas <[email protected]>
1 parent f6e7750 commit 70caaf8

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.circleci/config.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@ commands:
3535
- run:
3636
name: adding UPLOAD_CHANNEL to BASH_ENV
3737
command: |
38-
our_upload_channel=nightly
39-
# On tags upload to test instead
40-
if [[ -n "${CIRCLE_TAG}" ]]; then
41-
our_upload_channel=test
42-
fi
38+
our_upload_channel="test"
4339
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
4440
4541
binary_common: &binary_common
@@ -48,11 +44,11 @@ binary_common: &binary_common
4844
build_version:
4945
description: "version number of release binary; by default, build a nightly"
5046
type: string
51-
default: ""
47+
default: "0.2.0"
5248
pytorch_version:
5349
description: "PyTorch version to build against; by default, use a nightly"
5450
type: string
55-
default: ""
51+
default: "1.8.0"
5652
# Don't edit these
5753
python_version:
5854
description: "Python version to build against (e.g., 3.7)"
@@ -83,6 +79,7 @@ jobs:
8379
resource_class: 2xlarge+
8480
steps:
8581
- checkout_merge
82+
- designate_upload_channel
8683
- run: packaging/build_wheel.sh
8784
- store_artifacts:
8885
path: dist
@@ -98,6 +95,7 @@ jobs:
9895
resource_class: 2xlarge+
9996
steps:
10097
- checkout_merge
98+
- designate_upload_channel
10199
- run:
102100
no_output_timeout: 20m
103101
command: packaging/build_conda.sh
@@ -115,6 +113,7 @@ jobs:
115113
executor: windows-cpu
116114
steps:
117115
- checkout_merge
116+
- designate_upload_channel
118117
- run:
119118
name: Build conda packages
120119
no_output_timeout: 20m
@@ -141,6 +140,7 @@ jobs:
141140
executor: windows-cpu
142141
steps:
143142
- checkout_merge
143+
- designate_upload_channel
144144
- run:
145145
name: Build wheel packages
146146
command: |
@@ -163,6 +163,7 @@ jobs:
163163
xcode: "9.4.1"
164164
steps:
165165
- checkout_merge
166+
- designate_upload_channel
166167
# - run:
167168
# name: Install libomp
168169
# command: HOMEBREW_NO_AUTO_UPDATE=1 brew install libomp
@@ -189,6 +190,7 @@ jobs:
189190
xcode: "9.4.1"
190191
steps:
191192
- checkout_merge
193+
- designate_upload_channel
192194
# - run:
193195
# name: Install libomp
194196
# command: HOMEBREW_NO_AUTO_UPDATE=1 brew install libomp

0 commit comments

Comments
 (0)