Skip to content

Commit

Permalink
Fix error in Hotfix calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
AVHopp committed Aug 9, 2024
1 parent c68100d commit 22ad8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/scripts/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def check_for_hotfix(tags: list[str], version: str):
"""Check whether the current build corresponds to a hotfix."""
split_tags = tags.split("\n")
split_tags.sort(key=Version)
print(Version(version) < Version(tags[-1]), end="")
print(Version(version) < Version(split_tags[-1]), end="")


if __name__ == "__main__":
Expand Down

0 comments on commit 22ad8d2

Please sign in to comment.