1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-05 21:02:20 +01:00

[esp32] Bump platform to 54.03.21-1 and add support for tagged releases (#9926)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Jonathan Swoboda
2025-07-29 01:52:34 -04:00
committed by GitHub
parent 6d30269565
commit 3d5b602288
4 changed files with 11 additions and 9 deletions

View File

@@ -291,6 +291,8 @@ class Version:
extra: str = ""
def __str__(self):
if self.extra:
return f"{self.major}.{self.minor}.{self.patch}-{self.extra}"
return f"{self.major}.{self.minor}.{self.patch}"
@classmethod