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
|
from pathlib import Path
|
||||||
versionfile = Path('./freqtrade_commit')
|
versionfile = Path('./freqtrade_commit')
|
||||||
if versionfile.is_file():
|
if versionfile.is_file():
|
||||||
__version__ = f"docker-{versionfile.read_text()[:8]}"
|
__version__ = f"docker-{__version__}-{versionfile.read_text()[:8]}"
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user