Add pattern back in for git tag versioning

This commit is contained in:
Robert Taylor 2023-01-19 15:55:34 +00:00 committed by Jean-Paul Chaput
parent 6b455b66d5
commit fabcabe31d
1 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,12 @@ dirty = true
vcs = "git" vcs = "git"
style = "pep440" style = "pep440"
metadata = "true" metadata = "true"
pattern = '''
(?x)
^coriolis-((?P<epoch>\d+)!)?(?P<base>\d+(\.\d+)*)
([-._]?((?P<stage>[a-zA-Z]+)[-._]?(?P<revision>\d+)?))?
(\+(?P<tagged_metadata>.+))?$
'''
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.8"