chore: migrate from bumpver to bump-my-version for better reliability
This commit is contained in:
parent
424de5cc13
commit
d39550c4e8
@ -40,18 +40,11 @@ dev = [
|
|||||||
"isort>=5.12.0",
|
"isort>=5.12.0",
|
||||||
"mypy>=1.6.0",
|
"mypy>=1.6.0",
|
||||||
"ruff>=0.1.0",
|
"ruff>=0.1.0",
|
||||||
"bumpver>=2025.1131",
|
"bump-my-version>=1.2.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.bumpver]
|
[tool.bumpversion]
|
||||||
current_version = "2.0.3"
|
current_version = "2.0.3"
|
||||||
version_pattern = "MAJOR.MINOR.PATCH"
|
|
||||||
commit_message = "Bump version {old_version} → {new_version}"
|
|
||||||
commit = true
|
commit = true
|
||||||
tag = true
|
tag = true
|
||||||
push = false
|
message = "Bump version: {current_version} → {new_version}"
|
||||||
|
|
||||||
[[tool.bumpver.files]]
|
|
||||||
filename = "pyproject.toml"
|
|
||||||
search = 'version = "{current_version}"'
|
|
||||||
replace = 'version = "{new_version}"'
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user