mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
use api token instead of username and pw for pypi
This commit is contained in:
parent
334c9b3e7a
commit
f564c8ca34
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ jobs:
|
||||||
- stage: Deploy
|
- stage: Deploy
|
||||||
if: branch = master AND tag IS present
|
if: branch = master AND tag IS present
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- poetry config http-basic.pypi "$PYPI_USER" "$PYPI_PASS"
|
- poetry config pypi-token.pypi "$PYPI_TOKEN"
|
||||||
- poetry version "$TRAVIS_TAG"
|
- poetry version "$TRAVIS_TAG"
|
||||||
- echo __version__ = \"$TRAVIS_TAG\" > jrnl/__version__.py
|
- echo __version__ = \"$TRAVIS_TAG\" > jrnl/__version__.py
|
||||||
- poetry build
|
- poetry build
|
||||||
|
|
Loading…
Add table
Reference in a new issue