forked from andrivet/ADVi3pp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bumpversion.cfg
executable file
·30 lines (25 loc) · 1014 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
[bumpversion]
current_version = 4.0.6-stable+2020-03-08
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?\+(?P<date>\d{4}\-\d{2}\-\d{2})
serialize = {major}.{minor}.{patch}-{release}+{now:%Y-%m-%d}
[bumpversion:part:release]
optional_value = stable
values =
dev
stable
[bumpversion:file:Marlin/advi3pp_versions.h:0]
serialize = {major}{minor}{patch}
search = advi3_pp_version = 0x{current_version}
replace = advi3_pp_version = 0x{new_version}
[bumpversion:file:Marlin/Version.h:0]
serialize =
{major}.{minor}.{patch}-{release}
{major}.{minor}.{patch}
search = #define DETAILED_BUILD_VERSION SHORT_BUILD_VERSION " (" ADVi3PP_NAME " {current_version})"
replace = #define DETAILED_BUILD_VERSION SHORT_BUILD_VERSION " (" ADVi3PP_NAME " {new_version})"
[bumpversion:file:Marlin/Version.h:1]
serialize = {date:%Y-%m-%d}
search = #define STRING_DISTRIBUTION_DATE "{current_version} 12:00"
replace = #define STRING_DISTRIBUTION_DATE "{new_version} 12:00"