You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by li...@apache.org on 2022/08/12 05:45:45 UTC
[rocketmq-schema-registry] 01/01: Update bump-version.sh
This is an automated email from the ASF dual-hosted git repository.
lizhanhui pushed a commit to branch lizhanhui-patch-1
in repository https://gitbox.apache.org/repos/asf/rocketmq-schema-registry.git
commit d40cc2b9abecc1b500c91983973b0a1d46ff8759
Author: Zhanhui Li <li...@apache.org>
AuthorDate: Fri Aug 12 13:45:41 2022 +0800
Update bump-version.sh
A better way to bump up the version
---
bump-version.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/bump-version.sh b/bump-version.sh
index 7549fb4..a3ade98 100644
--- a/bump-version.sh
+++ b/bump-version.sh
@@ -20,5 +20,4 @@ if [[ $1 == "" ]]; then
fi
version=$1
-mvn versions:set -DnewVersion=$version
-find . -name *.versionsBackup -exec rm {} \;
+mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$version