From 60d830ad550061fddd5958d8340e3dce6ecff89d Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Wed, 27 Sep 2017 17:45:34 +0200 Subject: [PATCH] Do not delete old betas since they might be in use. --- gitlab/deploy.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gitlab/deploy.sh b/gitlab/deploy.sh index 8e85d74..c002df8 100755 --- a/gitlab/deploy.sh +++ b/gitlab/deploy.sh @@ -23,11 +23,11 @@ for folder in "${DOC_UPLOADS[@]}"; do dav_upload_folder sphinx "${folder}" done -# Deletes all the old packages if in beta -if [ -z "${CI_COMMIT_TAG}" ]; then #beta - for urls in _ci/*/*/build_number.txt; do - for url in `tail -n +2 $urls`; do - dav_delete "private-upload/conda${url}" - done - done -fi +# # Deletes all the old packages if in beta +# if [ -z "${CI_COMMIT_TAG}" ]; then #beta +# for urls in _ci/*/*/build_number.txt; do +# for url in `tail -n +2 $urls`; do +# dav_delete "private-upload/conda${url}" +# done +# done +# fi -- GitLab