-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
.bumpversion.cfg
35 lines (29 loc) · 772 Bytes
/
.bumpversion.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[bumpversion]
current_version = 0.9.1
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>\w+))?
serialize =
{major}.{minor}.{patch}-{release}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = placeholder
values =
a1
b1
rc1
placeholder
[bumpversion:file:VERSION]
search = {current_version}
replace = {new_version}
[bumpversion:file:src/scrapy_redis/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:.cookiecutterrc]
search = version: {current_version}
replace = version: {new_version}
[bumpversion:file:HISTORY.rst]
search = .. bumpversion marker
replace = .. bumpversion marker
{new_version} ({now:%Y-%m-%d})
------------------