diff --git a/gitlab/deploy.sh b/gitlab/deploy.sh index 50a888f496dac12292dae7259a99f84bc18ed6ee..34b1ca2372e35333c200e5188de5c57fd133f73c 100755 --- a/gitlab/deploy.sh +++ b/gitlab/deploy.sh @@ -3,23 +3,23 @@ source $(dirname ${0})/functions.sh -# lock_pypirc +lock_pypirc -# setup_deploy register --repository staging -# setup_deploy check sdist --formats zip upload --repository staging +setup_deploy register --repository staging +setup_deploy check sdist --formats zip upload --repository staging -# # if that worked, uploads source package to the production index -# log_info "Uploading package to ${PYPISERVER} on behalf of ${PYPIUSER}..." -# setup_deploy register --repository production -# setup_deploy check sdist --formats zip upload --repository production +# if that worked, uploads source package to the production index +log_info "Uploading package to ${PYPISERVER} on behalf of ${PYPIUSER}..." +setup_deploy register --repository production +setup_deploy check sdist --formats zip upload --repository production -# # if that worked, uploads documentation to pythonhosted if any exists -# if [ -d sphinx ]; then -# log_info "Uploading documentation to ${PYPISERVER} on behalf of ${PYPIUSER}..." -# setup_deploy upload_docs --upload-dir sphinx --repository production -# fi +# if that worked, uploads documentation to pythonhosted if any exists +if [ -d sphinx ]; then + log_info "Uploading documentation to ${PYPISERVER} on behalf of ${PYPIUSER}..." + setup_deploy upload_docs --upload-dir sphinx --repository production +fi -# unlock_pypirc +unlock_pypirc condaforge_packages=("bob" \ "bob.extension" \