Skip to content

Commit

Permalink
add pattern for poetry-dynamic-versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
koxudaxi committed Jun 14, 2020
1 parent 022ca14 commit 31afb3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ classifiers = [

[tool.poetry-dynamic-versioning]
enable = true
style = "pep440"
vcs = "git"
pattern = "^(?P<base>\\d+\\.\\d+\\.\\d+)(-?((?P<stage>[a-zA-Z]+)\\.?(?P<revision>\\d+)?))?$"

[tool.poetry.scripts]
fastapi-codegen = "fastapi_code_generator.__main__:app"
Expand Down

0 comments on commit 31afb3c

Please sign in to comment.