Skip to content

Commit 703189e

Browse files
authored
RATIS-2206. Jars in Maven repo and binary tarball are not the same (#1188)
1 parent e9755a6 commit 703189e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev-support/make_rc.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,15 @@ prepare-bin() {
118118
mv "apache-ratis-${RATISVERSION}-src" "apache-ratis-${RATISVERSION}"
119119
cd "apache-ratis-${RATISVERSION}"
120120

121-
mvnFun clean install -DskipTests=true -Prelease -Papache-release -Dgpg.keyname="${CODESIGNINGKEY}"
121+
mvnFun clean verify -DskipTests=true -Prelease -Papache-release -Dgpg.keyname="${CODESIGNINGKEY}"
122122
}
123123

124124
assembly() {
125125
cd "$SVNDISTDIR"
126126
RCDIR="$SVNDISTDIR/${RATISVERSION}/${RC#-}"
127127
mkdir -p "$RCDIR"
128128
cd "$RCDIR"
129-
cp "$WORKINGDIR/apache-ratis-${RATISVERSION}/ratis-assembly/target/ratis-assembly-${RATISVERSION}-bin.tar.gz" "apache-ratis-${RATISVERSION}-bin.tar.gz"
129+
cp "$projectdir/ratis-assembly/target/ratis-assembly-${RATISVERSION}-bin.tar.gz" "apache-ratis-${RATISVERSION}-bin.tar.gz"
130130
cp "$projectdir/ratis-assembly/target/ratis-assembly-${RATISVERSION}-src.tar.gz" "apache-ratis-${RATISVERSION}-src.tar.gz"
131131
for i in *.tar.gz; do gpg -u "${CODESIGNINGKEY}" --armor --output "${i}.asc" --detach-sig "${i}"; done
132132
for i in *.tar.gz; do gpg --print-md SHA512 "${i}" > "${i}.sha512"; done
@@ -147,7 +147,7 @@ publish-svn() {
147147

148148
publish-mvn(){
149149
cd "$projectdir"
150-
mvnFun clean deploy -DskipTests=true -Prelease -Papache-release -Dgpg.keyname="${CODESIGNINGKEY}"
150+
mvnFun deploy:deploy
151151
}
152152

153153
if [ "$#" -ne 1 ]; then

0 commit comments

Comments
 (0)