Merge pull request #807 from wren/auto-changelog-724

Change PyPI auth method in build pipeline
This commit is contained in:
micahellison 2020-01-14 22:04:52 -08:00 committed by GitHub
commit e8981a6396
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,7 +125,6 @@ jobs:
- stage: Deploy - stage: Deploy
if: tag IS present if: tag IS present
before_deploy: before_deploy:
- 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
@ -141,5 +140,5 @@ jobs:
- git config --global user.name "Jrnl Bot" - git config --global user.name "Jrnl Bot"
- git checkout master - git checkout master
- git add pyproject.toml - git add pyproject.toml
- git commit -m "Incrementing version to ${TRAVIS_TAG}" - git commit -m "Incrementing version to ${TRAVIS_TAG} [ci skip]"
- git push https://${GITHUB_TOKEN}@github.com/jrnl-org/jrnl.git master - git push https://${GITHUB_TOKEN}@github.com/jrnl-org/jrnl.git master