Skip to content

Commit

Permalink
RATIS-2157 Enhance make_rc.sh for non-first rc at release time #1149
Browse files Browse the repository at this point in the history
Signed-off-by: OneSizeFitQuorum <[email protected]>
  • Loading branch information
OneSizeFitsQuorum committed Sep 19, 2024
1 parent 5a470a2 commit 313c51a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-support/make_rc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ prepare-src() {
git reset --hard
git clean -fdx
mvnFun versions:set -DnewVersion="$RATISVERSION"
git commit -a -m "Change version for the version $RATISVERSION $RC"
git commit --allow-empty -a -m "Change version for the version $RATISVERSION $RC"

git config user.signingkey "${CODESIGNINGKEY}"
git tag -s -m "Release $RATISVERSION $RC" ratis-"${RATISVERSION}${RC}"
Expand Down Expand Up @@ -147,7 +147,7 @@ publish-svn() {

publish-mvn(){
cd "$projectdir"
mvnFun -X clean deploy -DskipTests=true -Prelease -Papache-release -Dgpg.keyname="${CODESIGNINGKEY}"
mvnFun clean deploy -DskipTests=true -Prelease -Papache-release -Dgpg.keyname="${CODESIGNINGKEY}"
}

if [ "$#" -ne 1 ]; then
Expand Down

0 comments on commit 313c51a

Please sign in to comment.