Skip to content
Snippets Groups Projects
Commit 99d4e626 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Swap doc/package deployment order so it works for new packages

parent 081eabd9
No related branches found
No related tags found
No related merge requests found
...@@ -8,15 +8,15 @@ lock_pypirc ...@@ -8,15 +8,15 @@ lock_pypirc
setup_deploy register --repository staging setup_deploy register --repository staging
setup_deploy check sdist --formats zip upload --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 documentation to pythonhosted if any exists # if that worked, uploads documentation to pythonhosted if any exists
if [ -d sphinx ]; then if [ -d sphinx ]; then
log_info "Uploading documentation to ${PYPISERVER} on behalf of ${PYPIUSER}..." log_info "Uploading documentation to ${PYPISERVER} on behalf of ${PYPIUSER}..."
setup_deploy upload_docs --upload-dir sphinx --repository production setup_deploy upload_docs --upload-dir sphinx --repository production
fi fi
# 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
unlock_pypirc unlock_pypirc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment