diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e328fca..fdb9f9d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/_version.py b/humblebundle_downloader/_version.py similarity index 100% rename from _version.py rename to humblebundle_downloader/_version.py diff --git a/setup.py b/setup.py index c6e63e8..6c5583c 100644 --- a/setup.py +++ b/setup.py @@ -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: