Skip to content

Commit 744a231

Browse files
authored
Merge pull request #217 from jakub-nt/fix-gri-from-with-download
`cfbs generate-release-information` no longer results in an error when using `--from` while not using `--omit-download`
2 parents 87a7b3e + 28824be commit 744a231

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cfbs/masterfiles/analyze.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ def version_as_comparable_list(version: str):
100100
* `version_as_comparable_list("3.24.0b1")` is `[[3, 24, 0], [-1, 1]]`
101101
* `version_as_comparable_list("3.24.0-2")` is `[[3, 24, 0], [1, 2]]`
102102
* `version_as_comparable_list("3.24.x")` is `[[3, 24, 99999], [0, 0]]`"""
103+
if version == "master":
104+
version = "x"
105+
103106
if "b" not in version:
104107
if "-" not in version:
105108
version += "|0.0"

0 commit comments

Comments
 (0)