Skip to content

Commit eaa7f3d

Browse files
committed
Tbump
1 parent bcbcfc2 commit eaa7f3d

File tree

2 files changed

+123
-15
lines changed

2 files changed

+123
-15
lines changed

poetry.lock

Lines changed: 99 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ httpx = ">=0.24,<0.29"
111111
deptry = ">=0.11,<0.21"
112112
aiohttp = "^3.8.4"
113113
pytest-aiohttp = "^1.1.0"
114-
bump2version = "^1.0.1"
115114
pyflakes = "^3.1.0"
116115
fastapi = ">=0.111,<0.125"
116+
tbump = "^6.11.0"
117117

118118
[tool.poetry.group.docs.dependencies]
119119
mkdocs = "^1.6.1"
@@ -146,3 +146,26 @@ line-length = 79
146146
profile = "black"
147147
line_length = 79
148148
force_single_line = true
149+
150+
[tool.tbump]
151+
github_url = "https://github.com/python-openapi/openapi-core"
152+
153+
[tool.tbump.version]
154+
current = "0.19.5"
155+
regex = '''
156+
(?P<major>\d+)
157+
\.
158+
(?P<minor>\d+)
159+
\.
160+
(?P<patch>\d+)
161+
'''
162+
163+
[tool.tbump.git]
164+
message_template = "Version {new_version}"
165+
tag_template = "{new_version}"
166+
167+
[[tool.tbump.file]]
168+
src = "openapi_core/__init__.py"
169+
170+
[[tool.tbump.file]]
171+
src = "pyproject.toml"

0 commit comments

Comments
 (0)