Commit d5a1f850 authored by shadMod's avatar shadMod 💬

replaced ver_interim with ver_latest to get the latest version

now ver_interim_list and ver_lts_list get up all versions and take relative interim and LTS
parent 2de0af53
......@@ -131,20 +131,20 @@ class CompileVersion:
]
@property
def ver_lts(self) -> str:
return max(self.ver_lts_list)
def ver_latest(self) -> tuple:
return max(self.list_version)
@property
def ver_interim(self) -> str:
return max(self.ver_interim_list)
def ver_latest_lts(self) -> tuple:
return max(self.ver_lts_list)
@property
def ver_lts_list(self) -> list:
return self.list_version["lts"]
def ver_interim_list(self) -> list:
return [x for x in self.list_version if x[3] == 'interim']
@property
def ver_interim_list(self) -> list:
return self.list_version["latest"]
def ver_lts_list(self) -> list:
return [x for x in self.list_version if x[3] == 'LTS']
def compile_download(self) -> None:
# put constants in empty data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment