Skip to content

Commit 89d241e

Browse files
hboutemysrinath-ctds
authored andcommitted
[cleanup][build] skip generating pom.xml.versionsBackup (apache#23639)
(cherry picked from commit dbfde02) (cherry picked from commit 165ddb4)
1 parent 4601478 commit 89d241e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/set-project-version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ pushd ${ROOT_DIR}
3636
# Get the current version
3737
OLD_VERSION=`python3 ${ROOT_DIR}/src/get-project-version.py`
3838

39-
mvn versions:set -DnewVersion=$NEW_VERSION
40-
mvn versions:set -DnewVersion=$NEW_VERSION -pl buildtools
39+
mvn versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false
40+
mvn versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -pl buildtools
4141
# Set terraform ansible deployment pulsar version
4242
sed -i -e "s/${OLD_VERSION}/${NEW_VERSION}/g" ${TERRAFORM_DIR}/deploy-pulsar.yaml
4343

0 commit comments

Comments
 (0)