Skip to content

Commit

Permalink
enable releases of alpha versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mjurbanski-reef committed Jun 17, 2024
1 parent d1c5327 commit 2fff8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{cookiecutter.package_name}}/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def make_release(session):
parser = argparse.ArgumentParser()

def version(value):
if not re.match(r"\d+\.\d+\.\d+", value):
if not re.match(r"\d+\.\d+\.\d+(?:(?:a|b|rc)\d+)?", value):
raise argparse.ArgumentTypeError("Invalid version format")
return value

Expand Down

0 comments on commit 2fff8f6

Please sign in to comment.