26 lines
613 B
INI
26 lines
613 B
INI
[bumpversion]
|
|
current_version = 0.18.2
|
|
commit = True
|
|
tag = True
|
|
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>[a-z]+)(?P<candidate>\d+))?
|
|
serialize =
|
|
{major}.{minor}.{patch}{release}{candidate}
|
|
{major}.{minor}.{patch}
|
|
|
|
[bumpversion:part:candidate]
|
|
first_value = 1
|
|
|
|
[bumpversion:part:release]
|
|
optional_value = production
|
|
values =
|
|
rc
|
|
production
|
|
|
|
[bumpversion:file:src/main/package.json]
|
|
search = "version": "{current_version}"
|
|
replace = "version": "{new_version}"
|
|
|
|
[bumpversion:file:src/renderer/package.json]
|
|
search = "version": "{current_version}"
|
|
replace = "version": "{new_version}"
|
|
|