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:
@@ -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
|
||||
|
Reference in New Issue
Block a user