Skip to content

Commit c3da117

Browse files
Allow prerelease branch for 3.14 (#93)
* Allow prerelease branch for 3.14 Ref #92. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 571488a commit c3da117

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

completion.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ def branches_from_devguide(devguide_dir: Path) -> list[str]:
1616
p = devguide_dir.joinpath('include/release-cycle.json')
1717
data = json.loads(p.read_text())
1818
return [
19-
branch for branch in data if data[branch]['status'] in ('bugfix', 'security')
19+
branch
20+
for branch in data
21+
if data[branch]['status'] in ('bugfix', 'security', 'prerelease')
2022
]
2123

2224

0 commit comments

Comments
 (0)