From a7872cddfdb794249c6afa8ef59de5905fe859aa Mon Sep 17 00:00:00 2001 From: Potato Date: Wed, 20 Nov 2024 00:46:26 +0800 Subject: [PATCH] RATIS-2195. Enable `release` profile during release (#55) --- dev-support/make_rc.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-support/make_rc.sh b/dev-support/make_rc.sh index 2034cb0..980e0e2 100755 --- a/dev-support/make_rc.sh +++ b/dev-support/make_rc.sh @@ -90,7 +90,7 @@ git archive --format=tar.gz --output="${archivedir}/${artifactid}-${version}-src # Build and install Ratis-Thirdparty for the eventual mvn-deploy # No "bin tarball" -mvnFun install -DskipTests -Papache-release +mvnFun install -DskipTests -Papache-release -Prelease echo echo "Generated artifacts successfully." @@ -105,9 +105,9 @@ echo ' for i in *.tar.gz; do echo $i; gpg --armor --output $i.asc --detach-sig echo echo "Check the content deployed to maven." echo "If good, close the repo and record links of temporary staging repo" -echo " ${mvn} deploy -DskipTests -Papache-release -Dmaven.repo.local=${repodir}" +echo " ${mvn} deploy -DskipTests -Papache-release -Prelease -Dmaven.repo.local=${repodir}" echo -echo "If all good tag the RC" +echo "If all good tag the RC and publish to git" echo echo "Finally, you may want to remove archive dir and repo dir" echo " rm -rf ${archivedir}"