Try fixing version information for pyinstaller packaging
This commit is contained in:
parent
675c456cfe
commit
5584eb4d6b
@ -28,6 +28,8 @@ prepare:
|
|||||||
- echo "WINDOWS_AMD64_BINARY=fime_windows_amd64_${VERSION}" | tee -a build.env
|
- 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
|
- echo "PACKAGE_REGISTRY_URL=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/fime/${VERSION}" | tee -a build.env
|
||||||
artifacts:
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- src/fime/_version.py
|
||||||
reports:
|
reports:
|
||||||
dotenv: build.env
|
dotenv: build.env
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
try:
|
try:
|
||||||
from _version import __version__, __version_tuple__
|
from fime._version import __version__, __version_tuple__
|
||||||
except ImportError:
|
except ImportError:
|
||||||
__version__ = version = '1.0.0.dev0'
|
__version__ = version = '1.0.0.dev0'
|
||||||
__version_tuple__ = version_tuple = (1, 0, 0, 'dev0')
|
__version_tuple__ = version_tuple = (1, 0, 0, 'dev0')
|
||||||
|
Loading…
Reference in New Issue
Block a user