We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27f3391 commit 4694426Copy full SHA for 4694426
script/bump_changelog.py
@@ -49,7 +49,7 @@ def main() -> None:
49
if "dev" in args.version:
50
print("'-devXY' will be cut from version in towncrier.toml")
51
match = re.match(
52
- r"^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-\w+\d*)*", args.version
+ r"^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-?\w+\d*)*", args.version
53
)
54
if not match:
55
print(
0 commit comments