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 ce4177ee3 RATIS-2339. Avoid "commit does not belong to any branch" 
during release (#1293)
ce4177ee3 is described below

commit ce4177ee34089f9af78584999f81a082f81f3ff3
Author: Potato <[email protected]>
AuthorDate: Thu Oct 2 20:48:12 2025 +0800

    RATIS-2339. Avoid "commit does not belong to any branch" during release 
(#1293)
    
    Signed-off-by: OneSizeFitQuorum <[email protected]>
    Co-authored-by: Doroszlai, Attila 
<[email protected]>
---
 dev-support/make_rc.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-support/make_rc.sh b/dev-support/make_rc.sh
index c6a93a6d9..b94305a05 100755
--- a/dev-support/make_rc.sh
+++ b/dev-support/make_rc.sh
@@ -145,6 +145,7 @@ mvnFun() {
 
 5-publish-git(){
   cd "$projectdir"
+  git push apache HEAD:"release-${RATISVERSION}"
   git push apache "ratis-${RATISVERSION}${RC}"
 }
 
@@ -169,7 +170,7 @@ Please choose from available phases (eg. make_rc.sh 
1-prepare-src):
 
    4-assembly:     This step copies all the required artifacts to the svn 
directory and ($SVNDISTDIR) creates the signatures/checksum files.
 
-   5-publish-git:  Only do it if everything is fine. It pushes the rc tag to 
the repository.
+   5-publish-git:  Only do it if everything is fine. It pushes the rc tag and 
release branch to the repository.
 
    6-publish-svn:  Uploads the artifacts to the apache dev staging area to 
start the vote.
 

Reply via email to