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

adoroszlai pushed a commit to branch release-3.2.2
in repository https://gitbox.apache.org/repos/asf/ratis.git

commit e0695e22b04700fdca29c50b7f9d6f87a9616182
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sun Mar 8 18:20:26 2026 +0100

    RATIS-2425. make_rc.sh does not set version in ratis-bom (#1367)
    
    (cherry picked from commit 1433b4cbf7350afcf9b2f871dd48c48e17a91a1d)
---
 dev-support/make_rc.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-support/make_rc.sh b/dev-support/make_rc.sh
index b94305a05..551508ecf 100755
--- a/dev-support/make_rc.sh
+++ b/dev-support/make_rc.sh
@@ -95,7 +95,11 @@ mvnFun() {
   cd "$projectdir"
   git reset --hard
   git clean -fdx
-  mvnFun versions:set -DnewVersion="$RATISVERSION"
+  mvnFun versions:set -DnewVersion="$RATISVERSION" -DprocessAllModules
+  if ! git diff --name-only | grep -q ratis-bom/pom.xml; then
+    echo 'ratis-bom not updated by `mvn versions:set`' >&2
+    exit 1
+  fi
   git commit --allow-empty -a -m "Change version for the version $RATISVERSION 
$RC"
 
   git config user.signingkey "${CODESIGNINGKEY}"

Reply via email to