Skip to content

Commit 2ccfb94

Browse files
committed
add .bumpversion.cfg
1 parent 7c81a64 commit 2ccfb94

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.bumpversion.cfg

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[bumpversion]
2+
current_version = 4.2.1
3+
commit = False
4+
tag = False
5+
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?
6+
serialize =
7+
{major}.{minor}.{patch}-{release}
8+
{major}.{minor}.{patch}
9+
10+
[bumpversion:file:pycycle/__init__.py]
11+
search = __version__ = '{current_version}'
12+
replace = __version__ = '{new_version}'
13+
14+
[bumpversion:part:release]
15+
optional_value = rel
16+
values =
17+
dev
18+
rel

0 commit comments

Comments
 (0)