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

Err if a non-public package is deployed

parent e0c3c771
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,12 @@ ...@@ -3,6 +3,12 @@
source $(dirname ${0})/functions.sh source $(dirname ${0})/functions.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
fi
lock_pypirc lock_pypirc
#setup_deploy register --repository staging #setup_deploy register --repository staging
......
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