This is an automated email from the ASF dual-hosted git repository.
adoroszlai 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 1433b4cbf RATIS-2425. make_rc.sh does not set version in ratis-bom
(#1367)
1433b4cbf is described below
commit 1433b4cbf7350afcf9b2f871dd48c48e17a91a1d
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)
---
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}"