From 130dfd7a0af09a3d0094a95a3d102cf468d118db Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Fri, 11 Aug 2017 00:05:08 -0500 Subject: [PATCH] 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. --- .bumpversion.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 6d0330007..d7578e6b9 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -17,6 +17,10 @@ values = 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}"