From 2f7d43f1356b667076d7fe4ec23bf2561e0cae41 Mon Sep 17 00:00:00 2001 From: "Matthew B. White" Date: Thu, 10 Oct 2019 10:07:55 +0100 Subject: [PATCH] [FAB-16798] Update dependencies versions Change-Id: I4bb80d7b55050ace7d41ecc02ec71adb549fa20b Signed-off-by: Matthew B. White --- scripts/Jenkins_Scripts/Publish_NPM_Modules.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/Jenkins_Scripts/Publish_NPM_Modules.sh b/scripts/Jenkins_Scripts/Publish_NPM_Modules.sh index 8abcd596..89565331 100755 --- a/scripts/Jenkins_Scripts/Publish_NPM_Modules.sh +++ b/scripts/Jenkins_Scripts/Publish_NPM_Modules.sh @@ -42,6 +42,9 @@ npmPublish() { # Replace existing version with $UNSTABLE_INCREMENT_VERSION sed -i 's/\(.*\"version\"\: \"\)\(.*\)/\1'$UNSTABLE_INCREMENT_VERSION\"\,'/' package.json + + # Update the dependencies with that refer to any fabric-* module to be the matching number + sed -i 's/\(.*\"fabric-.*\"\)\(2.0.0-snapshot\)/\1'$UNSTABLE_INCREMENT_VERSION'/' package.json npm publish --tag $CURRENT_TAG else