-
Notifications
You must be signed in to change notification settings - Fork 2
/
.bumpversion.cfg
27 lines (22 loc) · 939 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
[bumpversion]
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<prerelease>\w+))?
serialize =
{major}.{minor}.{patch}-{prerelease}
{major}.{minor}.{patch}
current_version = 0.8.0-beta
message = Bump to {new_version} for development [skip ci]
[comments]
comment1 = Beware that bumpversion rewrites this entire file and any proper comments get thrown away
comment2 = Beware that if you specify the global `serialize` option, then `replace` in a `file` section will update the entire matched string from `search`. Otherwise you replace just the matched `current_version` component
[bumpversion:part:prerelease]
first_value = beta
optional_value = final
values =
beta
final
[bumpversion:file:src/flyingcircus/_about.py]
search = __version__: str = "{current_version}"
replace = __version__: str = "{new_version}"
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"