You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by hu...@apache.org on 2020/04/08 22:53:55 UTC

[helix] 25/50: Update bump-up.command and ivy imports (#824)

This is an automated email from the ASF dual-hosted git repository.

hulee pushed a commit to branch zooscalability_merge
in repository https://gitbox.apache.org/repos/asf/helix.git

commit 2a1195a0d93bfeed362019570c5b4a53e9e96b1e
Author: Hunter Lee <hu...@linkedin.com>
AuthorDate: Wed Feb 26 22:45:48 2020 -0800

    Update bump-up.command and ivy imports (#824)
    
    We update the bump-up.command script here so that it includes newly added modules.
    .ivy change was needed for wrapper repositories could pick up on the right open-source libraries.
---
 bump-up.command | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/bump-up.command b/bump-up.command
index 7bf2858..eed4ba4 100755
--- a/bump-up.command
+++ b/bump-up.command
@@ -58,6 +58,25 @@ else
   echo "metrics-common/$ivy_file not exist"
 fi
 
+
+echo "bump up metadata-store-directory-common/pom.xml"
+sed -i "s/${version}/${new_version}/g" metadata-store-directory-common/pom.xml
+grep -C 1 "$new_version" metadata-store-directory-common/pom.xml
+# git diff metadata-store-directory-common/pom.xml
+
+ivy_file="metadata-store-directory-common-"$version".ivy"
+new_ivy_file="metadata-store-directory-common-"$new_version".ivy"
+# echo "$ivy_file"
+if [ -f metadata-store-directory-common/$ivy_file ]; then
+  echo "bump up metadata-store-directory-common/$ivy_file"
+  git mv "metadata-store-directory-common/$ivy_file" "metadata-store-directory-common/$new_ivy_file"
+  sed -i "s/${version}/${new_version}/g" "metadata-store-directory-common/$new_ivy_file"
+  grep -C 1 "$new_version" "metadata-store-directory-common/$new_ivy_file"
+else
+  echo "metadata-store-directory-common/$ivy_file not exist"
+fi
+
+
 echo "bump up zookeeper-api/pom.xml"
 sed -i "s/${version}/${new_version}/g" zookeeper-api/pom.xml
 grep -C 1 "$new_version" zookeeper-api/pom.xml