From 2bfe13e1f53b0ff7d190ebb19eb24cd2d074bfc4 Mon Sep 17 00:00:00 2001 From: Eddy Hintze Date: Sun, 19 Jan 2020 09:43:10 -0500 Subject: [PATCH] move version file --- .gitlab-ci.yml | 2 +- _version.py => humblebundle_downloader/_version.py | 0 setup.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename _version.py => humblebundle_downloader/_version.py (100%) 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: