__init__: latest release version before develop version

This commit is contained in:
Joe Schr 2022-03-11 18:20:57 +01:00
parent e5f29df5c4
commit ef8f6783c7

View File

@ -1,5 +1,5 @@
""" Freqtrade bot """
__version__ = 'develop'
__version__ = '2022.2.1-develop'
if __version__.endswith('develop'):
try:
@ -29,5 +29,4 @@ if __version__.endswith('develop'):
versionfile = Path('./freqtrade_commit')
if versionfile.is_file():
__version__ = f"docker-{versionfile.read_text()[:8]}"
except Exception:
pass
except Exception: pass