From 0bda0ea7b6627fc6cadd6f5a5490691040b5d482 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Sat, 20 Jan 2018 23:28:50 +0100 Subject: [PATCH] why bash never work --- gitlab/before_build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gitlab/before_build.sh b/gitlab/before_build.sh index b8a3a3c..a9e674a 100755 --- a/gitlab/before_build.sh +++ b/gitlab/before_build.sh @@ -27,11 +27,12 @@ anaconda_upload: false #!final ssl_verify: false #!final channels: #!final EOF + if [ -z "${CI_COMMIT_TAG}" ]; then - run_cmd echo " - ${CONDA_BETA_CHANNEL}" >> ${CONDARC} + echo " - ${CONDA_BETA_CHANNEL}" >> ${CONDARC} fi -run_cmd echo " - ${CONDA_CHANNEL}" >> ${CONDARC} -run_cmd echo " - defaults" >> ${CONDARC} +echo " - ${CONDA_CHANNEL}" >> ${CONDARC} +echo " - defaults" >> ${CONDARC} # displays contents of our configuration echo "Contents of \`${CONDARC}':" -- GitLab