Skip to content

Commit 45812a3

Browse files
committed
Add bump2version config
1 parent 589b3ad commit 45812a3

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

.bumpversion.cfg

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[bumpversion]
2+
current_version = 1.7.0
3+
4+
[comment]
5+
comment = The contents of this file cannot be merged with that of setup.cfg until https://github.com/c4urself/bump2version/issues/185 is resolved
6+
7+
[bumpversion:file:instamatic/__init__.py]
8+
search = __version__ = '{current_version}'
9+
replace = __version__ = '{new_version}'
10+
11+
[bumpversion:file:setup.cfg]
12+
search = version = {current_version}
13+
replace = version = {new_version}
14+
15+
[bumpversion:file:CITATION.cff]
16+
search = version: "{current_version}"
17+
replace = version: "{new_version}"
18+
19+
[bumpversion:file:docs/conf.py]
20+
search = version = release = '{current_version}'
21+
replace = version = release = '{new_version}'

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ install_requires =
6363

6464
[options.extras_require]
6565
develop =
66+
bump2version
6667
check-manifest
6768
pre-commit
6869
flake8

0 commit comments

Comments
 (0)