forked from nsidc/qgreenland
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bumpversion.cfg
42 lines (36 loc) · 859 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
36
37
38
39
40
41
42
[bumpversion]
current_version = 2.0.0rc3
commit = True
tag = False
parse = ^
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) # minimum 'N.N.N'
(?:
(?P<prerelease>alpha|beta|rc)
(?P<build>\d+)
)?
$
serialize =
{major}.{minor}.{patch}{prerelease}{build}
{major}.{minor}.{patch}
[bumpversion:part:prerelease]
optional_value = final
values =
final
alpha
beta
rc
final
[bumpversion:part:build]
first_value = 1
[bumpversion:file:qgreenland/__init__.py]
search = __version__ = 'v{current_version}'
replace = __version__ = 'v{new_version}'
[bumpversion:file:CITATION.cff]
search = version: {current_version}
replace = version: {new_version}
[bumpversion:file:CHANGELOG.md]
search = NEXT_VERSION
replace = v{new_version} ({now:%Y-%m-%d})
[bumpversion:file:doc/conf.py]
search = release = 'v{current_version}'
replace = release = 'v{new_version}'