Skip to content

Commit 6f4ba85

Browse files
committed
Add bump-my-version for version management
1 parent e57c6f0 commit 6f4ba85

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ dev = [
3535
"ruff>=0.3.0",
3636
"pytest>=8.0.0",
3737
"pytest-cov>=4.1.0",
38+
"bump-my-version>=0.15.0",
3839
]
3940

4041
[tool.hatch.build.targets.wheel]
@@ -70,3 +71,14 @@ known-first-party = ["mcp_utils"]
7071
addopts = "--cov=mcp_utils --cov-report=term-missing"
7172
testpaths = ["tests"]
7273
python_files = ["test_*.py"]
74+
75+
[tool.bumpversion]
76+
current_version = "0.1.0"
77+
commit = true
78+
tag = true
79+
allow_dirty = false
80+
81+
[tool.bumpversion.file_patterns]
82+
pyproject = [
83+
'version = "{current_version}"',
84+
]

0 commit comments

Comments
 (0)