move version file

This commit is contained in:
Eddy Hintze 2020-01-19 09:43:10 -05:00
parent 6fa1a54228
commit 2bfe13e1f5
3 changed files with 2 additions and 2 deletions

View File

@ -33,6 +33,6 @@ tag:
- master
script:
- *write_permission
- export VERSION=$(echo $(python -c "import _version; print(_version.__version__)"))
- export VERSION=$(echo $(python -c "import humblebundle_downloader._version; print(_version.__version__)"))
- git tag -a $VERSION -m "Version created by gitlab-ci Build"
- git push origin $VERSION

View File

@ -1,5 +1,5 @@
from setuptools import setup
from _version import __version__
from humblebundle_downloader._version import __version__
with open('README.md', 'r') as f: