Skip to content

Commit

Permalink
chore: update support status for last 3 versions, not 4
Browse files Browse the repository at this point in the history
  • Loading branch information
radnov authored Dec 6, 2024
1 parent 463c0de commit 8ba7204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/update-stable-json/update_stable_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down

0 comments on commit 8ba7204

Please sign in to comment.