Skip to content

Commit

Permalink
switch to bump-my-version
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Oct 23, 2024
1 parent c8e3c33 commit 35a051c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .bumpversion.cfg

This file was deleted.

16 changes: 16 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ test = [
]
dev = [
"pre-commit",
"bump-my-version",
]

[project.urls]
Expand Down Expand Up @@ -112,3 +113,18 @@ ignore = [

[tool.ruff.lint.mccabe]
max-complexity = 14


[tool.bumpversion]
current_version = "0.12.1"
search = "{current_version}"
replace = "{new_version}"
regex = false
tag = true
commit = true
tag_name = "{new_version}"

[[tool.bumpversion.files]]
filename = "tilebench/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'

0 comments on commit 35a051c

Please sign in to comment.