merlimat commented on a change in pull request #7228:
URL: https://github.com/apache/pulsar/pull/7228#discussion_r438286491



##########
File path: src/set-project-version.sh
##########
@@ -30,12 +30,13 @@ NEW_VERSION=$1
 # Go to top level project directory
 pushd $(dirname "$0")/..
 
+# Get the current version
+OLD_VERSION=`mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' 
--non-recursive exec:exec`

Review comment:
       There's already a script that we use in multiple places to get the 
version: `./src/get-project-version.py`




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

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


Reply via email to