mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
Keep version number in docker versioning
This commit is contained in:
parent
7192ed7be6
commit
107845afa8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user