diff --git a/gitlab/deploy.sh b/gitlab/deploy.sh index 1221b1897463a642d49f9466518ccb9f6cb3391b..1ca1498f5711f4cba515fd64e79bcccabe8452de 100755 --- a/gitlab/deploy.sh +++ b/gitlab/deploy.sh @@ -5,6 +5,7 @@ source $(dirname ${0})/functions.sh dot_pypirc +setup register --repository staging setup check sdist --formats zip upload --repository staging # if that worked, uploads documentation to pythonhosted if any exists @@ -15,4 +16,5 @@ fi # if that worked, uploads source package to the production index log_info "Uploading package to ${PYPISERVER} on behalf of ${PYPIUSER}..." +setup register --repository production setup check sdist --formats zip upload --repository production