Merge pull request #64817 from ClickHouse/securoty-generator

Fix wrong supported year recognition
This commit is contained in:
Mikhail f. Shiryaev 2024-06-05 07:33:52 +00:00 committed by GitHub
commit ecac630784
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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