forked from jupyter/nbformat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bumpversion.cfg
37 lines (32 loc) · 1.03 KB
/
.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
[bumpversion]
current_version = 5.1.3beta0
commit = True
message = Bump version: {current_version} → {new_version}
tag = False
tag_name = {new_version}
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>[a-z]+)(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}{release}{build}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = prod
first_value = beta
values =
beta
prod
[bumpversion:part:build]
[bumpversion:file:nbformat/_version.py]
parse = (?P<major>\d+),\s*(?P<minor>\d+),\s*(?P<patch>\d+)(,\s*['"](?P<release>[a-z]+)(?P<build>\d+)['"])?
serialize =
{major}, {minor}, {patch}, '{release}{build}'
{major}, {minor}, {patch}
[bumpversion:file:docs/conf.py]
parse = (?P<major>\d+).(?P<minor>\d+)
serialize = {major}.{minor}
search = version = '{current_version}'
replace = version = '{new_version}'
[bumpversion:file:package.json]
parse = (?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(-(?P<release>[a-z]+)\.(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}-{release}.{build}
{major}.{minor}.{patch}