Skip to content

Commit

Permalink
Update aliases in greater or equal
Browse files Browse the repository at this point in the history
  • Loading branch information
Argmaster committed Nov 11, 2024
1 parent cac06b7 commit fd003eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fd003eb

Please sign in to comment.