Skip to content

Commit 090999a

Browse files
author
AndyEveritt
committed
add bumpversion.cfg
1 parent 0dff633 commit 090999a

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.bumpversion.cfg

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[bumpversion]
2+
current_version = 1.0.0
3+
commit = True
4+
tag = False
5+
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
6+
serialize =
7+
{major}.{minor}.{patch}-{release}{build}
8+
{major}.{minor}.{patch}
9+
10+
[bumpversion:part:release]
11+
optional_value = prod
12+
first_value = dev
13+
values =
14+
dev
15+
prod
16+
17+
[bumpversion:part:build]
18+
19+
[bumpversion:file:duetwebapi/__init__.py]
20+
replace = {new_version}

0 commit comments

Comments
 (0)