Skip to content

Commit

Permalink
cfbs generate-release-information no longer results in an error whe…
Browse files Browse the repository at this point in the history
…n using `--from` while not using `--omit-download`

Signed-off-by: jakub-nt <[email protected]>
  • Loading branch information
jakub-nt committed Jan 10, 2025
1 parent 87a7b3e commit 28824be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cfbs/masterfiles/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ def version_as_comparable_list(version: str):
* `version_as_comparable_list("3.24.0b1")` is `[[3, 24, 0], [-1, 1]]`
* `version_as_comparable_list("3.24.0-2")` is `[[3, 24, 0], [1, 2]]`
* `version_as_comparable_list("3.24.x")` is `[[3, 24, 99999], [0, 0]]`"""
if version == "master":
version = "x"

if "b" not in version:
if "-" not in version:
version += "|0.0"
Expand Down

0 comments on commit 28824be

Please sign in to comment.