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.
This commit is contained in:
Alex Liebowitz 2017-08-11 00:05:08 -05:00
parent 05783db1ba
commit 130dfd7a0a

View file

@ -17,6 +17,10 @@ values =
production production
[bumpversion:file:app/package.json] [bumpversion:file:app/package.json]
search = "version": "{current_version}"
replace = "version": "{new_version}"
[bumpversion:file:ui/package.json] [bumpversion:file:ui/package.json]
search = "version": "{current_version}"
replace = "version": "{new_version}"