diff --git a/script/bump-version.py b/script/bump-version.py index ebc73c5700..2e03ef6f62 100755 --- a/script/bump-version.py +++ b/script/bump-version.py @@ -66,7 +66,7 @@ def write_version(version: Version): sub( 'esphome/const.py', r"^PATCH_VERSION = .*$", - f"PATCH_VERSION = {version.full_patch}" + f"PATCH_VERSION = '{version.full_patch}''" )