Explicitly write Version to file

Delay import of asteval
Use __version__.py instead of VERSION.txt
This commit is contained in:
Manuel Ebert 2019-11-07 16:48:47 -08:00
parent b8d43db558
commit c8d59727eb
4 changed files with 9 additions and 7 deletions

View file

@ -113,6 +113,7 @@ jobs:
before_deploy:
- poetry config http-basic.pypi "$PYPI_USER" "$PYPI_PASS"
- poetry version "$TRAVIS_TAG"
- echo __version__ = \"$TRAVIS_TAG\" > jrnl/__version__.py
- poetry build
deploy:
- provider: script