From 24270b90c03c831f8f0d767327a51e1c7b6bfebf Mon Sep 17 00:00:00 2001 From: Luke Cwik Date: Fri, 18 Nov 2022 14:00:12 -0800 Subject: [PATCH] [#24266] Update release candidate script to use -PisRelease Note that this adds additional tasks which in the past have caused failures which is why we add --no-daemon and --no-parallel Fixes #24266 --- release/src/main/scripts/build_release_candidate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/src/main/scripts/build_release_candidate.sh b/release/src/main/scripts/build_release_candidate.sh index 0c6da71c76ca..6409cf892f18 100755 --- a/release/src/main/scripts/build_release_candidate.sh +++ b/release/src/main/scripts/build_release_candidate.sh @@ -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 @@ -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---------------------"