mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
use api token instead of username and pw for pypi
This commit is contained in:
parent
6d53ed1d94
commit
fcd8a11ae8
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