mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-10 19:57:49 +01:00
Fix bump-version for dev versions
This commit is contained in:
parent
b531d68b89
commit
38c410805d
@ -57,7 +57,7 @@ def write_version(version: Version):
|
||||
sub(
|
||||
'Makefile',
|
||||
r'ESPHOME_REF = .*',
|
||||
f'ESPHOME_REF = v{version}'
|
||||
f'ESPHOME_REF = v{version}' if not version.dev else f'ESPHOME_REF = dev'
|
||||
)
|
||||
# PROJECT_NUMBER = 1.14.4
|
||||
sub(
|
||||
|
Loading…
Reference in New Issue
Block a user