Skip to content

Commit

Permalink
Merge pull request #217 from jakub-nt/fix-gri-from-with-download
Browse files Browse the repository at this point in the history
`cfbs generate-release-information` no longer results in an error when using `--from` while not using `--omit-download`
  • Loading branch information
olehermanse authored Jan 10, 2025
2 parents 87a7b3e + 28824be commit 744a231
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 744a231

Please sign in to comment.