Skip to content
Merged

Tbump #1046

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .bumpversion.cfg

This file was deleted.

9 changes: 0 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,3 @@ docs-cleanup:
@rm -rf docs_build

cleanup: dist-cleanup test-cleanup

release/patch:
@bump2version patch

release/minor:
@bump2version minor

release/major:
@bump2version major
113 changes: 99 additions & 14 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 24 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ httpx = ">=0.24,<0.29"
deptry = ">=0.11,<0.21"
aiohttp = "^3.8.4"
pytest-aiohttp = "^1.1.0"
bump2version = "^1.0.1"
pyflakes = "^3.1.0"
fastapi = ">=0.111,<0.125"
tbump = "^6.11.0"

[tool.poetry.group.docs.dependencies]
mkdocs = "^1.6.1"
Expand Down Expand Up @@ -146,3 +146,26 @@ line-length = 79
profile = "black"
line_length = 79
force_single_line = true

[tool.tbump]
github_url = "https://github.com/python-openapi/openapi-core"

[tool.tbump.version]
current = "0.19.5"
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
'''

[tool.tbump.git]
message_template = "Version {new_version}"
tag_template = "{new_version}"

[[tool.tbump.file]]
src = "openapi_core/__init__.py"

[[tool.tbump.file]]
src = "pyproject.toml"
Loading