From 8ba7204ce9fbc157fc45d07836da2a2f999aa0eb Mon Sep 17 00:00:00 2001 From: radnov Date: Fri, 6 Dec 2024 11:08:41 +0200 Subject: [PATCH] chore: update support status for last 3 versions, not 4 --- tools/update-stable-json/update_stable_json.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/update-stable-json/update_stable_json.py b/tools/update-stable-json/update_stable_json.py index fa545681..abfe0598 100755 --- a/tools/update-stable-json/update_stable_json.py +++ b/tools/update-stable-json/update_stable_json.py @@ -67,9 +67,9 @@ def update_existing_version(version: Dict[str, Any], new_release: Dict[str, Any] def update_support_status(data: Dict[str, Any]) -> None: for i, version in enumerate(data['versions']): - version['supported'] = i < 4 + version['supported'] = i < 3 - print("Support status updated for the last 4 versions") + print("Support status updated for the last 3 versions") def update_latest_status(data: Dict[str, Any]) -> None: latest_version = max(data['versions'], key=lambda v: v['version'])