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


##########
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:
   In this patch, I'm using `versions:set-property`, not `versions:set`. 
`set-property` does the appropriate thing, try it.



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