From fd003eba8c5aecf842b2a2743f7f4923f78b77b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Wi=C5=9Bniewski?= Date: Mon, 11 Nov 2024 13:57:23 +0100 Subject: [PATCH] Update aliases in greater or equal --- scripts/deploy_docs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy_docs.py b/scripts/deploy_docs.py index db043c77..d36043d2 100644 --- a/scripts/deploy_docs.py +++ b/scripts/deploy_docs.py @@ -30,12 +30,12 @@ def main(*, is_dev: bool, check_only: bool) -> None: latest_unstable = find_latest_unstable(versions) - if version > latest_unstable: + if version >= latest_unstable: aliases.append("latest") latest_stable = find_latest_stable(versions) - if not is_unstable and version > latest_stable: + if not is_unstable and version >= latest_stable: aliases.append("stable") else: