helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hu...@apache.org
Subject [helix] 25/43: Update bump-up.command and ivy imports (#824)
Date Tue, 17 Mar 2020 00:03:56 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 082f2dfcaf6e76965c44611fbba8a5579c984a86
Author: Hunter Lee <hulee@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


Mime
View raw message