Skip to content

RATIS-2425. make_rc.sh does not set version in ratis-bom#1367

Merged
adoroszlai merged 1 commit into
apache:masterfrom
adoroszlai:RATIS-2425
Mar 8, 2026
Merged

RATIS-2425. make_rc.sh does not set version in ratis-bom#1367
adoroszlai merged 1 commit into
apache:masterfrom
adoroszlai:RATIS-2425

Conversation

@adoroszlai

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Let make_rc.sh change version in all modules. Fail the step if ratis-bom/pom.xml is unchanged.

https://issues.apache.org/jira/browse/RATIS-2425

How was this patch tested?

Locally tested the sanity check without adding -DprocessAllModules.

$ ./dev-support/make_rc.sh 1-prepare-src
...
++ grep -q ratis-bom/pom.xml
++ git diff --name-only
++ echo 'ratis-bom not updated by `mvn versions:set`'
ratis-bom not updated by `mvn versions:set`
++ exit 1

@adoroszlai adoroszlai self-assigned this Mar 8, 2026

@szetszwo szetszwo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 the change looks good.

@adoroszlai adoroszlai merged commit 1433b4c into apache:master Mar 8, 2026
16 checks passed
@adoroszlai adoroszlai deleted the RATIS-2425 branch March 8, 2026 17:20
@adoroszlai

Copy link
Copy Markdown
Contributor Author

Thanks @szetszwo for the review.

adoroszlai added a commit that referenced this pull request Mar 8, 2026

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I think we should remove these logic or we cann't not release rc2 which do not change version anymore. @adoroszlai

  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

@adoroszlai

Copy link
Copy Markdown
Contributor Author

Sure, please feel free to remove it.

@adoroszlai

Copy link
Copy Markdown
Contributor Author

BTW, since there was no vote about rc1, do we still need to bump to rc2, or can simply replace rc1 artifacts?

@OneSizeFitsQuorum

Copy link
Copy Markdown
Contributor

Just send the email @adoroszlai

slfan1989 pushed a commit to slfan1989/ratis that referenced this pull request May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants