-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.bumpversion.cfg
28 lines (24 loc) · 1015 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
[bumpversion]
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<prerelease>\w+))?
serialize =
{major}.{minor}.{patch}-{prerelease}
{major}.{minor}.{patch}
current_version = 1.6.3-beta
message = Bump to {new_version} for development [skip ci]
tag_message = Release {new_version} [skip ci]
tag_name = release-{new_version}
[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/xraysink/__init__.py]
search = __version__: str = "{current_version}"
replace = __version__: str = "{new_version}"
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"