dev: Versionsfilter fuer 4-teilige Versionsnummern korrigiert
This commit is contained in:
@@ -1242,15 +1242,15 @@ def _version_sort_key(version: str) -> tuple[int, ...]:
|
||||
|
||||
|
||||
def _is_stable_version(version: str) -> bool:
|
||||
return bool(re.match(r"^\d+\.\d+\.\d+$", str(version or "").strip()))
|
||||
return bool(re.match(r"^\d+\.\d+\.\d+(\.\d+)?$", str(version or "").strip()))
|
||||
|
||||
|
||||
def _is_nightly_version(version: str) -> bool:
|
||||
return bool(re.match(r"^\d+\.\d+\.\d+-nightly$", str(version or "").strip()))
|
||||
return bool(re.match(r"^\d+\.\d+\.\d+(\.\d+)?-nightly$", str(version or "").strip()))
|
||||
|
||||
|
||||
def _is_dev_version(version: str) -> bool:
|
||||
return bool(re.match(r"^\d+\.\d+\.\d+-dev$", str(version or "").strip()))
|
||||
return bool(re.match(r"^\d+\.\d+\.\d+(\.\d+)?-dev$", str(version or "").strip()))
|
||||
|
||||
|
||||
def _filter_versions_for_channel(channel: int, versions: list[str]) -> list[str]:
|
||||
|
||||
Reference in New Issue
Block a user