RATIS-2578. Automate more steps of ratis-thirdparty release#147
Open
adoroszlai wants to merge 3 commits into
Open
RATIS-2578. Automate more steps of ratis-thirdparty release#147adoroszlai wants to merge 3 commits into
adoroszlai wants to merge 3 commits into
Conversation
szetszwo
reviewed
Jul 20, 2026
szetszwo
left a comment
Contributor
There was a problem hiding this comment.
@adoroszlai , thanks for working on this! Just have two suggestions inlined.
Comment on lines
+234
to
+235
| 12. Publish maven repository at https://repository.apache.org/ | ||
|
|
Contributor
There was a problem hiding this comment.
-
Set release information at JIRA: https://issues.apache.org/jira/plugins/servlet/project-config/RATIS/administer-versions
-
Set release information at report database: https://reporter.apache.org/addrelease.html?ratis
-
Update version in pom.xml to the next SNAPSHOT version.
| MAVEN_OPTS="${mvnopts}" ${MVN} -Dmaven.repo.local="${repodir}" "$@" | ||
| } | ||
|
|
||
| 1-prepare-src() { |
Contributor
There was a problem hiding this comment.
Let's add a script to change the year in NOTICE:
YEAR=`grep "Copyright" NOTICE | sed -e 's/Copyright 2017-\([0-9]\{4\}\).*/\1/g'`
CURRENT=$(date +%Y)
if [ $YEAR = $CURRENT ] ; then
else
echo "NOTICE year $YEAR is not current $CURRENT"
fiJust found that the year in ratis is still 2023: https://github.com/apache/ratis/blob/master/NOTICE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
make_rc.shscript from Ratis. There are a few differences (e.g. the way tarballs are created), so the scripts are not shared (reused).https://issues.apache.org/jira/browse/RATIS-2578
How was this patch tested?
Tested during preparation of RCs for
ratis-thirdparty-1.1.0.https://github.com/adoroszlai/ratis-thirdparty/actions/runs/29500131488