Skip to content

Commit 09d565a

Browse files
fix: update env vars to export (#60)
1 parent 2dd1582 commit 09d565a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.kokoro/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ samples)
7979
if [[ -f ${SAMPLES_DIR}/pom.xml ]]
8080
then
8181
# get versions for constructing the full names of the packaged JARs
82-
CONNECTOR_VERSION=$(grep pubsublite-spark-sql-streaming ${scriptDir}/../versions.txt | cut -d: -f3)
83-
SAMPLE_VERSION=$(grep com.google.cloud.samples.shared-configuration: ${scriptDir}/../versions.txt | cut -d: -f3)
82+
export CONNECTOR_VERSION=$(grep pubsublite-spark-sql-streaming ${scriptDir}/../versions.txt | cut -d: -f3)
83+
export SAMPLE_VERSION=$(grep com.google.cloud.samples.shared-configuration: ${scriptDir}/../versions.txt | cut -d: -f3)
8484
if [ -f "${KOKORO_GFILE_DIR}/secret_manager/java-pubsublite-spark-samples-secrets" ]
8585
then
8686
source "${KOKORO_GFILE_DIR}/secret_manager/java-pubsublite-spark-samples-secrets"

0 commit comments

Comments
 (0)