Skip to content

Commit 368e27c

Browse files
authored
Hard code UPLOAD_CHANNEL for release branch (#2845)
1 parent 1f629a5 commit 368e27c

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
@@ -39,12 +39,8 @@ commands:
3939
- run:
4040
name: adding UPLOAD_CHANNEL to BASH_ENV
4141
command: |
42-
our_upload_channel=nightly
43-
# On tags upload to test instead
44-
if [[ -n "${CIRCLE_TAG}" ]]; then
45-
our_upload_channel=test
46-
fi
47-
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
42+
# hard code channel for release so that PRs work on test channell
43+
echo "export UPLOAD_CHANNEL=test" >> ${BASH_ENV}
4844
4945
binary_common: &binary_common
5046
parameters:

.circleci/config.yml.in

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,8 @@ commands:
3939
- run:
4040
name: adding UPLOAD_CHANNEL to BASH_ENV
4141
command: |
42-
our_upload_channel=nightly
43-
# On tags upload to test instead
44-
if [[ -n "${CIRCLE_TAG}" ]]; then
45-
our_upload_channel=test
46-
fi
47-
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
42+
# hard code channel for release so that PRs work on test channell
43+
echo "export UPLOAD_CHANNEL=test" >> ${BASH_ENV}
4844

4945
binary_common: &binary_common
5046
parameters:

0 commit comments

Comments
 (0)