Skip to content

Commit

Permalink
Set main label by default (rapidsai#559)
Browse files Browse the repository at this point in the history
This PR changes the `label` option to use `main` for all package builds.

Authors:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - Mark Sadang (https://github.com/msadang)

URL: rapidsai#559
  • Loading branch information
galipremsagar authored Mar 16, 2022
1 parent d6b9d22 commit 44a46cf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ci/cpu/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ set -e
export GPUCI_RETRY_MAX=3
export GPUCI_RETRY_SLEEP=30

# Set label to testing by default. Use main label for main branch
LABEL_OPTION="--label testing"
if [[ "${SOURCE_BRANCH}" == "main" ]]; then
LABEL_OPTION="--label main"
fi
# Set label option.
# LABEL_OPTION="--label testing"
LABEL_OPTION="--label main"

# Skip uploads unless BUILD_MODE == "branch"
if [ ${BUILD_MODE} != "branch" ]; then
Expand Down

0 comments on commit 44a46cf

Please sign in to comment.