lbry-desktop/.bumpversion.cfg
Alex Liebowitz 130dfd7a0a Configure bumpversion to avoid modifying daemon version in package.json
Before, it was matching *any* instance of the current app version
string, so if the daemon version configured in app/package.json
happened to match the app version, it would get bumped.

This updates the bumpversion config to only update the line containing
the package version itself.
2017-08-11 00:16:57 -05:00

27 lines
598 B
INI

[bumpversion]
current_version = 0.14.3
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:app/package.json]
search = "version": "{current_version}"
replace = "version": "{new_version}"
[bumpversion:file:ui/package.json]
search = "version": "{current_version}"
replace = "version": "{new_version}"