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 Aug 29, 2024
1 parent 2f02e73 commit 25ff80d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
9 changes: 0 additions & 9 deletions .bumpversion.cfg

This file was deleted.

20 changes: 19 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ dependencies = ["pydantic~=2.0"]

[project.optional-dependencies]
test = ["pytest", "pytest-cov", "shapely"]
dev = ["pre-commit"]
dev = [
"pre-commit",
"bump-my-version",
]
docs = [
"mkdocs",
"mkdocs-material",
Expand Down Expand Up @@ -95,3 +98,18 @@ ignore = [

[tool.ruff.per-file-ignores]
"tests/*.py" = ["D1"]

[tool.bumpversion]
current_version = "1.1.0"

search = "{current_version}"
replace = "{new_version}"
regex = false
tag = true
commit = true
tag_name = "{new_version}"

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

0 comments on commit 25ff80d

Please sign in to comment.