Fix wrong supported year recognition

This commit is contained in:
Mikhail f. Shiryaev 2024-06-04 23:21:48 +02:00
parent ad7097587f
commit f4f094d8c6
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4
2 changed files with 5 additions and 2 deletions

View File

@ -19,7 +19,10 @@ The following versions of ClickHouse server are currently supported with securit
| 24.3 | ✔️ |
| 24.2 | ❌ |
| 24.1 | ❌ |
| 23.* | ❌ |
| 23.12 | ❌ |
| 23.11 | ❌ |
| 23.10 | ❌ |
| 23.9 | ❌ |
| 23.8 | ✔️ |
| 23.7 | ❌ |
| 23.6 | ❌ |

View File

@ -98,7 +98,7 @@ def generate_supported_versions() -> str:
lts.append(version)
to_append = f"| {version} | ✔️ |"
if to_append:
if len(regular) == max_regular or len(lts) == max_lts:
if len(regular) == max_regular and len(lts) == max_lts:
supported_year = year
table.append(to_append)
continue