(sudo) pip install -U twine

This commit is contained in:
Thomas Ferreira de Lima 2019-04-02 20:10:23 -04:00
parent 70e6d70988
commit 32c07759fc
No known key found for this signature in database
GPG Key ID: 43E98870EAA0A86E
1 changed files with 1 additions and 1 deletions

View File

@ -585,6 +585,6 @@ after_success:
# uploading to pypi using twine
# need TWINE_USERNAME, TWINE_PASSWORD and TWINE_REPOSITORY_URL env variable
- if [ "$PYTHON_BUILD" = true ] || [ "$DOCKER_BUILD" = true ]; then
pip install -U twine;
pip install -U twine || sudo pip install -U twine;
twine upload --skip-existing deploy/dist-pymod/$klayout_version/*;
fi