Skip to content

Commit 9377ef3

Browse files
committed
separate out bumpversion configuration
[ci skip]
1 parent 04d85c7 commit 9377ef3

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.bumpversion.cfg

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[bumpversion]
2+
current_version = 2.2.0
3+
commit = True
4+
tag = True
5+
6+
[bumpversion:file:setup.py]
7+
search = version="{current_version}"
8+
replace = version="{new_version}"
9+
10+
[bumpversion:file:procrunner/__init__.py]
11+
search = __version__ = "{current_version}"
12+
replace = __version__ = "{new_version}"

setup.cfg

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,6 @@ project-urls =
44
GitHub = https://github.com/DiamondLightSource/python-procrunner
55
Bug-Tracker = https://github.com/DiamondLightSource/python-procrunner/issues
66

7-
[bumpversion]
8-
current_version = 2.2.0
9-
commit = True
10-
tag = True
11-
12-
[bumpversion:file:setup.py]
13-
search = version="{current_version}"
14-
replace = version="{new_version}"
15-
16-
[bumpversion:file:procrunner/__init__.py]
17-
search = __version__ = "{current_version}"
18-
replace = __version__ = "{new_version}"
19-
207
[flake8]
218
exclude = docs
229

0 commit comments

Comments
 (0)