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

Revert "Add to existing channels if CONDA_CHANNELS is preset"

This reverts commit 86e346df.
parent 86e346df
No related branches found
No related tags found
No related merge requests found
......@@ -355,11 +355,7 @@ install_miniconda() {
# $2: typically, the value of ${CI_COMMIT_TAG} or empty
# given the current visibility/tagging conditions of the package.
set_conda_channels() {
if [ -z "${CONDA_CHANNELS+abc}" ]; then
CONDA_CHANNELS=() #sets bash array
else
log_info "Appending to existing \$\{CONDA_CHANNELS\} setup..."
fi
CONDA_CHANNELS=() #resets bash array
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.
Finish editing this message first!
Please register or to comment