From c035ead54584291a8f9cb03f0e5c7b8b698f3258 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Tue, 8 May 2018 13:41:39 +0100 Subject: [PATCH] change js-api always in update-script --- scripts/update-version.sh | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/scripts/update-version.sh b/scripts/update-version.sh index 9ac012dd1a..25ed44e1a1 100755 --- a/scripts/update-version.sh +++ b/scripts/update-version.sh @@ -212,21 +212,18 @@ do done if $TOTAL_BUILD; then - echo "====== UPDATE TOTAL BUILD======" update_total_build_dependency_version - - if $JS_API == true; then - if $DIFFERENT_JS_API == true; then - update_total_build_dependency_js_version ${VERSION_JS_API} - else - update_total_build_dependency_js_version ${VERSION} - fi - fi - fi +if $JS_API == true; then + if $DIFFERENT_JS_API == true; then + update_total_build_dependency_js_version ${VERSION_JS_API} + else + update_total_build_dependency_js_version ${VERSION} + fi +fi echo "====== UPDATE DEMO SHELL ======"