Skip to content
Snippets Groups Projects
Commit 86e346df authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Add to existing channels if CONDA_CHANNELS is preset

parent 0bb2945e
No related branches found
No related tags found
No related merge requests found
......@@ -355,7 +355,11 @@ install_miniconda() {
# $2: typically, the value of ${CI_COMMIT_TAG} or empty
# given the current visibility/tagging conditions of the package.
set_conda_channels() {
CONDA_CHANNELS=() #resets bash array
if [ -z "${CONDA_CHANNELS+abc}" ]; then
CONDA_CHANNELS=() #sets bash array
else
log_info "Appending to existing \$\{CONDA_CHANNELS\} setup..."
fi
if [ "${1}" == "public" ]; then
if [ -z "${2}" ]; then #public beta build
CONDA_CHANNELS+=('public/conda/label/beta')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment