helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hu...@apache.org
Subject [helix] branch master updated: Update bump-up.command with metrics-common
Date Mon, 09 Mar 2020 20:15:45 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 5de66f2  Update bump-up.command with metrics-common
5de66f2 is described below

commit 5de66f2d612ed70db106a857403f009c5d498f84
Author: Hunter Lee <hulee@linkedin.com>
AuthorDate: Mon Mar 9 13:15:24 2020 -0700

    Update bump-up.command with metrics-common
---
 bump-up.command | 41 +++++++++++++++++++++++++++++------------
 1 file changed, 29 insertions(+), 12 deletions(-)

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


Mime
View raw message