Keep version number in docker versioning

This commit is contained in:
Matthias 2022-10-20 19:55:42 +02:00
parent 7192ed7be6
commit 107845afa8

View File

@ -16,6 +16,6 @@ if 'dev' in __version__:
from pathlib import Path
versionfile = Path('./freqtrade_commit')
if versionfile.is_file():
__version__ = f"docker-{versionfile.read_text()[:8]}"
__version__ = f"docker-{__version__}-{versionfile.read_text()[:8]}"
except Exception:
pass