From 09d565a4d33de7bd5330a6da0f24a90a52faeaf2 Mon Sep 17 00:00:00 2001 From: Tianzi Cai Date: Mon, 8 Feb 2021 11:18:57 -0800 Subject: [PATCH] fix: update env vars to export (#60) --- .kokoro/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 0959c40b..0deb86dc 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -79,8 +79,8 @@ samples) if [[ -f ${SAMPLES_DIR}/pom.xml ]] then # get versions for constructing the full names of the packaged JARs - CONNECTOR_VERSION=$(grep pubsublite-spark-sql-streaming ${scriptDir}/../versions.txt | cut -d: -f3) - SAMPLE_VERSION=$(grep com.google.cloud.samples.shared-configuration: ${scriptDir}/../versions.txt | cut -d: -f3) + export CONNECTOR_VERSION=$(grep pubsublite-spark-sql-streaming ${scriptDir}/../versions.txt | cut -d: -f3) + export SAMPLE_VERSION=$(grep com.google.cloud.samples.shared-configuration: ${scriptDir}/../versions.txt | cut -d: -f3) if [ -f "${KOKORO_GFILE_DIR}/secret_manager/java-pubsublite-spark-samples-secrets" ] then source "${KOKORO_GFILE_DIR}/secret_manager/java-pubsublite-spark-samples-secrets"