Apache9 commented on code in PR #4844:
URL: https://github.com/apache/hbase/pull/4844#discussion_r1003151468


##########
dev-support/create-release/release-util.sh:
##########
@@ -678,8 +678,8 @@ function kick_gpg_agent {
 # Do maven command to set version into local pom
 function maven_set_version { #input: <version_to_set>
   local this_version="$1"
-  log "${MVN[@]}" versions:set -DnewVersion="$this_version"
-  "${MVN[@]}" versions:set -DnewVersion="$this_version" | grep -v "no value" # 
silence logs
+  log "${MVN[@]}" versions:set-property -Dproperty=revision 
-DnewVersion="$this_version" -DgenerateBackupPoms=false

Review Comment:
   The problem of using verisons plugin is that, it always requires updating 
the version. But here we only want to change the revision property, leave the 
version with ${revision} placeholder...



-- 
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]

Reply via email to