narendly commented on code in PR #2086:
URL: https://github.com/apache/helix/pull/2086#discussion_r868433330


##########
bump-up.command:
##########
@@ -19,6 +19,30 @@
 # under the License.
 #
 
+MODULES=("metrics-common" "metadata-store-directory-common" "zookeeper-api" 
"helix-common" "helix-core" \
+"helix-admin-webapp" "helix-front" "helix-rest" "helix-lock" 
"helix-view-aggregator" "helix-agent")
+
+update_pom_version() {
+  pom=$1
+  echo "bump up $pom"
+  sed -i "s/${version}/${new_version}/g" $pom

Review Comment:
   Thanks for refactoring! Another nagging issue we've had with this script is 
that if `sed` isn't able to locate the correct `version`, it just fails out, 
and those who aren't familiar with the way bump-up.command would get stuck. 
   
   I think it might be helpful to add some error log based on the exit code - 
any thoughts?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to