diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 299173c..c51ace7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,8 @@ prepare: - echo "WINDOWS_AMD64_BINARY=fime_windows_amd64_${VERSION}" | tee -a build.env - echo "PACKAGE_REGISTRY_URL=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/fime/${VERSION}" | tee -a build.env artifacts: + paths: + - src/fime/_version.py reports: dotenv: build.env diff --git a/src/fime/__init__.py b/src/fime/__init__.py index 857ee33..b12282c 100644 --- a/src/fime/__init__.py +++ b/src/fime/__init__.py @@ -1,5 +1,5 @@ try: - from _version import __version__, __version_tuple__ + from fime._version import __version__, __version_tuple__ except ImportError: __version__ = version = '1.0.0.dev0' __version_tuple__ = version_tuple = (1, 0, 0, 'dev0')