From 85586597fe6fe418beee717f20c4e00e543388eb Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.anjos@idiap.ch> Date: Wed, 11 Oct 2017 15:18:08 +0200 Subject: [PATCH] Fix variable name --- gitlab/deploy.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gitlab/deploy.sh b/gitlab/deploy.sh index 5da571c..0f91e4b 100755 --- a/gitlab/deploy.sh +++ b/gitlab/deploy.sh @@ -16,11 +16,7 @@ if [ "${VISIBILITY}" != "public" ]; then fi log_info "Creating source distribution..." -run_cmd $(PREFIX)/bin/python setup.py check sdist --formats zip -if [ $? != 0 ]; then - log_error "Could not create source distribution zip file" - exit 1 -fi +run_cmd ${PREFIX}/bin/python setup.py check sdist --formats zip log_info "Uploading package to ${PYPISERVER} on behalf of ${PYPIUSER}..." twine register --username ${PYPIUSER} --password ${PYPIPASS} dist/*.zip -- GitLab