Skip to content

Commit

Permalink
Fix the set-project-version scripts (apache#9198)
Browse files Browse the repository at this point in the history
---

*Motivation*

We introduce a new way to handle the proto and remove the
'protobuf-shaded/pom.xml' in the PR apache#9046.
We need to remove the set version in the scripts.
  • Loading branch information
zymap authored Jan 14, 2021
1 parent 908dae9 commit 6d8d32a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/set-project-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,5 @@ OLD_VERSION=`python ${ROOT_DIR}/src/get-project-version.py`
mvn versions:set -DnewVersion=$NEW_VERSION
mvn versions:set -DnewVersion=$NEW_VERSION -pl buildtools
mvn versions:set -DnewVersion=$NEW_VERSION -pl pulsar-sql/presto-distribution
# install the new version of root pom local, so `update-parent` can update the right parent version
sed -i -e "s/${OLD_VERSION}/${NEW_VERSION}/g" protobuf-shaded/pom.xml

popd

0 comments on commit 6d8d32a

Please sign in to comment.