Skip to content

Commit 27f2089

Browse files
authored
Hard code package channel for release branch (#1074)
1 parent 7ff61fd commit 27f2089

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.circleci/config.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,8 @@ commands:
3232
- run:
3333
name: adding UPLOAD_CHANNEL to BASH_ENV
3434
command: |
35-
our_upload_channel=nightly
36-
# On tags upload to test instead
37-
if [[ -n "${CIRCLE_TAG}" ]] || [[ ${CIRCLE_BRANCH} =~ release/* ]]; then
38-
our_upload_channel=test
39-
fi
40-
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
35+
# Hardcoded for release branch
36+
echo "export UPLOAD_CHANNEL=test" >> ${BASH_ENV}
4137
install_build_tools_macos:
4238
description: "installs tools required to build torchaudio"
4339
steps:

.circleci/config.yml.in

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,8 @@ commands:
3232
- run:
3333
name: adding UPLOAD_CHANNEL to BASH_ENV
3434
command: |
35-
our_upload_channel=nightly
36-
# On tags upload to test instead
37-
if [[ -n "${CIRCLE_TAG}" ]] || [[ ${CIRCLE_BRANCH} =~ release/* ]]; then
38-
our_upload_channel=test
39-
fi
40-
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
35+
# Hardcoded for release branch
36+
echo "export UPLOAD_CHANNEL=test" >> ${BASH_ENV}
4137
install_build_tools_macos:
4238
description: "installs tools required to build torchaudio"
4339
steps:

0 commit comments

Comments
 (0)