Skip to content

Commit a82799c

Browse files
committed
chore: support pre and post release tags
Signed-off-by: JP-Ellis <[email protected]>
1 parent a270c72 commit a82799c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pact-python-cli/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ requires = ["hatch-vcs", "hatchling", "packaging"]
6666

6767
[tool.hatch.version]
6868
source = "vcs"
69-
tag-pattern = "^pact-python-cli/(?P<version>[vV]?\\d+(?:\\.\\d+)*)$"
69+
tag-pattern = '^pact-python-cli/(?P<version>\d+(?:\.\d+)*(?:(?:a|b|rc|\.post)\d+)?)$'
7070

7171
[tool.hatch.version.raw-options]
7272
git_describe_command = [

pact-python-ffi/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ requires = ["hatch-vcs", "hatchling", "packaging", "cffi"]
5757

5858
[tool.hatch.version]
5959
source = "vcs"
60-
tag-pattern = "^pact-python-ffi/(?P<version>[vV]?\\d+(?:\\.\\d+)*)$"
60+
tag-pattern = '^pact-python-ffi/(?P<version>\d+(?:\.\d+)*(?:(?:a|b|rc|\.post)\d+)?)$'
6161

6262
[tool.hatch.version.raw-options]
6363
git_describe_command = [

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ requires = ["hatch-vcs", "hatchling"]
152152

153153
[tool.hatch.version]
154154
source = "vcs"
155-
tag-pattern = "^pact-python/(?P<version>[vV]?\\d+(?:\\.\\d+)*)$"
155+
tag-pattern = '^pact-python/(?P<version>\d+(?:\.\d+)*(?:(?:a|b|rc|\.post)\d+)?)$'
156156

157157
[tool.hatch.version.raw-options]
158158
git_describe_command = [

0 commit comments

Comments
 (0)