Skip to content

Commit

Permalink
HBASE-27442 Change the way of bumping version in release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ndimiduk committed Oct 24, 2022
1 parent 2fc879e commit da6787a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-support/create-release/release-util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
"${MVN[@]}" versions:set-property -Dproperty=revision -DnewVersion="$this_version" -DgenerateBackupPoms=false | grep -v "no value" # silence logs
}

# Do maven command to read version from local pom
Expand Down

0 comments on commit da6787a

Please sign in to comment.