mirror of
https://github.com/home-assistant/core.git
synced 2025-08-23 14:32:38 +02:00
Bumped version to 0.97.0b1
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"""Constants used by Home Assistant components."""
|
"""Constants used by Home Assistant components."""
|
||||||
MAJOR_VERSION = 0
|
MAJOR_VERSION = 0
|
||||||
MINOR_VERSION = 97
|
MINOR_VERSION = 97
|
||||||
PATCH_VERSION = "0b0"
|
PATCH_VERSION = "0b1"
|
||||||
__short_version__ = "{}.{}".format(MAJOR_VERSION, MINOR_VERSION)
|
__short_version__ = "{}.{}".format(MAJOR_VERSION, MINOR_VERSION)
|
||||||
__version__ = "{}.{}".format(__short_version__, PATCH_VERSION)
|
__version__ = "{}.{}".format(__short_version__, PATCH_VERSION)
|
||||||
REQUIRED_PYTHON_VER = (3, 6, 0)
|
REQUIRED_PYTHON_VER = (3, 6, 0)
|
||||||
|
@@ -102,7 +102,7 @@ def write_version(version):
|
|||||||
"MINOR_VERSION = .*\n", "MINOR_VERSION = {}\n".format(minor), content
|
"MINOR_VERSION = .*\n", "MINOR_VERSION = {}\n".format(minor), content
|
||||||
)
|
)
|
||||||
content = re.sub(
|
content = re.sub(
|
||||||
"PATCH_VERSION = .*\n", "PATCH_VERSION = '{}'\n".format(patch), content
|
"PATCH_VERSION = .*\n", 'PATCH_VERSION = "{}"\n'.format(patch), content
|
||||||
)
|
)
|
||||||
|
|
||||||
with open("homeassistant/const.py", "wt") as fil:
|
with open("homeassistant/const.py", "wt") as fil:
|
||||||
|
Reference in New Issue
Block a user