From d321c59d12997069fe64c7327e59fca7b613b613 Mon Sep 17 00:00:00 2001 From: "N.A.Shashank" Date: Wed, 16 May 2018 16:01:55 +0530 Subject: [PATCH] optimized script --- Scripts/UpdateReactCheckout.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Scripts/UpdateReactCheckout.sh b/Scripts/UpdateReactCheckout.sh index a635bc09a..d16d3a8d3 100644 --- a/Scripts/UpdateReactCheckout.sh +++ b/Scripts/UpdateReactCheckout.sh @@ -32,13 +32,11 @@ function decrementedVersion() { } -OLD_IOS_RELEASE_VERSION=$( decrementedVersion "$NEW_IOS_RELEASE_VERSION" ) - OLD_REACT_NATIVE_RELEASE_VERSION=$( decrementedVersion "$NEW_REACT_NATIVE_RELEASE_VERSION" ) OLD_EXAMPLE_RELEASE_VERSION=$( decrementedVersion "$EXAMPLE_RELEASE_VERSION" ) -echo "old iOS release version : $OLD_IOS_RELEASE_VERSION , \nnew release version :$NEW_IOS_RELEASE_VERSION, \n new react native version: $NEW_REACT_NATIVE_RELEASE_VERSION,\n old react native release version : $OLD_REACT_NATIVE_RELEASE_VERSION ,\n new example version : $EXAMPLE_RELEASE_VERSION, \n old example version : $OLD_EXAMPLE_RELEASE_VERSION" +echo "\nnew release version :$NEW_IOS_RELEASE_VERSION, \n new react native version: $NEW_REACT_NATIVE_RELEASE_VERSION,\n old react native release version : $OLD_REACT_NATIVE_RELEASE_VERSION ,\n new example version : $EXAMPLE_RELEASE_VERSION, \n old example version : $OLD_EXAMPLE_RELEASE_VERSION" # create a new branch and make the changes