We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e69efe commit 8c9bde0Copy full SHA for 8c9bde0
.kokoro/release.sh
@@ -71,7 +71,12 @@ apt-get install -y openjdk-"${JDK_VERSION}"-jdk
71
export JAVA_HOME="$(update-java-alternatives -l | grep "1.${JDK_VERSION}" | head -n 1 | tr -s " " | cut -d " " -f 3)"
72
echo "JAVA_HOME=$JAVA_HOME"
73
74
-mvn clean deploy -B -q \
+SUPPRESS_LOGS='-q'
75
+if [[ -n "${ENABLE_LOGS}" ]]; then
76
+ SUPPRESS_LOGS=''
77
+fi
78
+
79
+mvn clean deploy -B ${SUPPRESS_LOGS} \
80
-P sonatype-oss-release \
81
--settings=../settings.xml \
82
-Dgpg.executable=gpg \
0 commit comments