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 27, 2024
1 parent 8b576de commit 0bb94e8
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 @@ -53,6 +53,7 @@ test = [
]
dev = [
"pre-commit",
"bump-my-version",
]
server = [
"uvicorn[standard]>=0.12.0,<0.19.0",
Expand Down Expand Up @@ -140,3 +141,18 @@ filterwarnings = [
"ignore:You will likely lose important projection*:UserWarning",
"ignore:Call to deprecated create function *:DeprecationWarning",
]

[tool.bumpversion]
current_version = "0.7.1"

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

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

0 comments on commit 0bb94e8

Please sign in to comment.