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 cc5a791 commit f9805dbCopy full SHA for f9805db
tasks.py
@@ -285,7 +285,7 @@ def validatetag(context: Context) -> None:
285
git_tag = result.stdout.rstrip()
286
287
# Validate that the Git tag appears to be a valid version number
288
- ver_regex = re.compile(r'(\d+)\.(\d+)\.(\d+)')
+ ver_regex = re.compile(r'(\d+)\.(\d+)\.(\d+)(a|b|rc)(\d+)')
289
match = ver_regex.fullmatch(git_tag)
290
if match is None:
291
print(f'Tag {git_tag!r} does not appear to be a valid version number')
0 commit comments