Skip to content

Commit bc5fcf5

Browse files
committed
bumpversion: Be more careful about what is replaced
1 parent 69cee97 commit bc5fcf5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ required_plugins = "pytest-timeout"
6767
[tool.bumpversion]
6868
current_version = "3.1"
6969
parse = '(?P<major>\d+)\.(?P<minor>\d+)'
70+
search = '"{current_version}"'
71+
replace = '"{new_version}"'
7072
serialize = ["{major}.{minor}"]
7173
commit = true
7274
tag = true

0 commit comments

Comments
 (0)