Skip to content

Commit

Permalink
Add version capture group
Browse files Browse the repository at this point in the history
  • Loading branch information
desertaxle committed Feb 12, 2025
1 parent 7ebca40 commit 209cbb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ ignore_errors = true

[tool.hatch.version]
source = "vcs"
tag-pattern = "(\\d+\\.\\d+\\.\\d+(?:\\.dev\\d+)?)$"
tag-pattern = "(?P<version>\\d+\\.\\d+\\.\\d+)(?:\\.dev\\d+)?$"
raw-options = { git_describe_command = 'git describe --dirty --tags --long --match "[0-9]*.[0-9]*.[0-9]*"' }

[tool.hatch.build.hooks.vcs]
Expand Down

0 comments on commit 209cbb1

Please # to comment.