This is an automated email from the ASF dual-hosted git repository.

tanxinyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new 94f3fef16 RATIS-2157 Enhance make_rc.sh for non-first rc at release 
time #1149
94f3fef16 is described below

commit 94f3fef161fab04bbd79024cf27edb47fe925210
Author: Potato <[email protected]>
AuthorDate: Sun Sep 15 10:31:19 2024 +0800

    RATIS-2157 Enhance make_rc.sh for non-first rc at release time #1149
    
    Signed-off-by: OneSizeFitQuorum <[email protected]>
---
 dev-support/make_rc.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-support/make_rc.sh b/dev-support/make_rc.sh
index fa6a2662a..dc56af595 100755
--- a/dev-support/make_rc.sh
+++ b/dev-support/make_rc.sh
@@ -96,7 +96,7 @@ prepare-src() {
   git reset --hard
   git clean -fdx
   mvnFun versions:set -DnewVersion="$RATISVERSION"
-  git commit -a -m "Change version for the version $RATISVERSION $RC"
+  git commit --allow-empty -a -m "Change version for the version $RATISVERSION 
$RC"
 
   git config user.signingkey "${CODESIGNINGKEY}"
   git tag -s -m "Release $RATISVERSION $RC" ratis-"${RATISVERSION}${RC}"
@@ -147,7 +147,7 @@ publish-svn() {
 
 publish-mvn(){
   cd "$projectdir"
-  mvnFun -X clean deploy -DskipTests=true  -Prelease -Papache-release 
-Dgpg.keyname="${CODESIGNINGKEY}"
+  mvnFun clean deploy -DskipTests=true  -Prelease -Papache-release 
-Dgpg.keyname="${CODESIGNINGKEY}"
 }
 
 if [ "$#" -ne 1 ]; then

Reply via email to