use api token instead of username and pw for pypi

This commit is contained in:
Jonathan Wren 2020-01-13 20:45:56 -08:00
parent 334c9b3e7a
commit f564c8ca34
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A

View file

@ -117,7 +117,7 @@ jobs:
- stage: Deploy
if: branch = master AND tag IS present
before_deploy:
- poetry config http-basic.pypi "$PYPI_USER" "$PYPI_PASS"
- poetry config pypi-token.pypi "$PYPI_TOKEN"
- poetry version "$TRAVIS_TAG"
- echo __version__ = \"$TRAVIS_TAG\" > jrnl/__version__.py
- poetry build