Skip to content

Commit

Permalink
[apache#24266] Update release candidate script to use -PisRelease (ap…
Browse files Browse the repository at this point in the history
…ache#24269)

Note that this adds additional tasks which in the past have caused failures which is why we add --no-daemon and --no-parallel

Fixes apache#24266
  • Loading branch information
lukecwik authored Nov 22, 2022
1 parent 67e2008 commit 9da2767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release/src/main/scripts/build_release_candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ if [[ $confirmation = "y" ]]; then
cd ${BEAM_ROOT_DIR}
git checkout ${RC_TAG}

./gradlew :pushAllDockerImages -Pdocker-pull-licenses -Pdocker-tag=${RELEASE}rc${RC_NUM} -Pjava11Home=${JAVA11_HOME}
./gradlew :pushAllDockerImages -PisRelease -Pdocker-pull-licenses -Pdocker-tag=${RELEASE}rc${RC_NUM} -Pjava11Home=${JAVA11_HOME} --no-daemon --no-parallel

wipe_local_clone_dir
fi
Expand Down Expand Up @@ -383,7 +383,7 @@ if [[ $confirmation = "y" ]]; then
cd ~/${LOCAL_WEBSITE_UPDATE_DIR}/${LOCAL_JAVA_DOC}
git clone --branch "${RC_TAG}" --depth 1 ${GIT_REPO_URL}
cd ${BEAM_ROOT_DIR}
./gradlew :sdks:java:javadoc:aggregateJavadoc
./gradlew :sdks:java:javadoc:aggregateJavadoc -PisRelease --no-daemon --no-parallel
GENERATE_JAVADOC=~/${LOCAL_WEBSITE_UPDATE_DIR}/${LOCAL_JAVA_DOC}/${BEAM_ROOT_DIR}/sdks/java/javadoc/build/docs/javadoc/

echo "------------------Updating Release Docs---------------------"
Expand Down

0 comments on commit 9da2767

Please sign in to comment.