Skip to content

Commit

Permalink
fix: update env vars to export (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
anguillanneuf committed Feb 8, 2021
1 parent 2dd1582 commit 09d565a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .kokoro/build.sh
Expand Up @@ -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"
Expand Down

0 comments on commit 09d565a

Please sign in to comment.