You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2024/11/27 09:44:24 UTC
(pulsar) 04/04: [cleanup][build] skip generating pom.xml.versionsBackup (#23639)
This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 165ddb441d7b0bc643108ccd06ef5eeeaa1e40a3
Author: Hervé Boutemy <he...@free.fr>
AuthorDate: Wed Nov 27 08:33:31 2024 +0100
[cleanup][build] skip generating pom.xml.versionsBackup (#23639)
(cherry picked from commit dbfde02bd740d5a682575ee971e2eacc2b28b3d8)
---
src/set-project-version.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/set-project-version.sh b/src/set-project-version.sh
index cf67e37682f..cd3343871b3 100755
--- a/src/set-project-version.sh
+++ b/src/set-project-version.sh
@@ -36,8 +36,8 @@ pushd ${ROOT_DIR}
# Get the current version
OLD_VERSION=`python3 ${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 -DgenerateBackupPoms=false
+mvn versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -pl buildtools
# Set terraform ansible deployment pulsar version
sed -i -e "s/${OLD_VERSION}/${NEW_VERSION}/g" ${TERRAFORM_DIR}/deploy-pulsar.yaml