From 20ea8af6e7cbda6601e9436e854d690b3a53c46c Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Wed, 11 Dec 2024 10:13:06 -0800 Subject: [PATCH] Export environment variables so bazelisk picks them up PiperOrigin-RevId: 705148623 --- ci/push_auto_update.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ci/push_auto_update.sh b/ci/push_auto_update.sh index 259a66373019..8af9756c59eb 100755 --- a/ci/push_auto_update.sh +++ b/ci/push_auto_update.sh @@ -19,9 +19,10 @@ if (echo "$previous_commit_title" | grep -q "^Auto-generate files"); then exit 0 fi -BAZEL=bazelisk -USE_BAZEL_VERSION=7.2.1 -source regenerate_stale_files.sh +export BAZEL=bazelisk +export USE_BAZEL_VERSION=7.2.1 + +./regenerate_stale_files.sh # Try to determine the most recent CL or pull request. pr_from_merge=$(echo "$previous_commit_title" | sed -n 's/^Merge pull request #\([0-9]\+\).*/\1/p')