small fixes for travis pipeline

This commit is contained in:
Jonathan Wren 2020-01-14 21:48:42 -08:00
parent dc2d22b43e
commit 4d4321738e

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,6 +140,6 @@ 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