From 214e01f732770d590aa4ff686c37468b8171e9a9 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.anjos@idiap.ch> Date: Tue, 27 Jun 2017 10:24:21 +0200 Subject: [PATCH] Allow private packages to successfuly create revisions without breaking the deployment stage --- gitlab/deploy.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gitlab/deploy.sh b/gitlab/deploy.sh index d7c131c..8456392 100755 --- a/gitlab/deploy.sh +++ b/gitlab/deploy.sh @@ -9,9 +9,10 @@ run_cmd $(dirname ${0})/docs.sh run_cmd $(dirname ${0})/after_docs.sh if [ "${VISIBILITY}" != "public" ]; then - log_error "ERROR: You cannot publish a PRIVATE to PyPI" - log_error "ERROR: Make this package public before re-trying!" - exit 1 + log_warn "WARNING: You cannot publish a PRIVATE to PyPI" + log_warn "WARNING: Make this package public if you wish to do so next time" + log_warn "WARNING: Stopping deployment procedure before PyPI/Conda pushes" + exit 0 fi lock_pypirc -- GitLab