From 1283552702123e4cfcaafb2316429d8b449cdf6c Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Wed, 7 May 2025 18:53:35 -0400 Subject: [PATCH] [Firebase AI] Move `GOOGLEAPPMEASUREMENT` flag into `test.sh` --- .github/workflows/firebaseai.yml | 1 - scripts/test.sh | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/firebaseai.yml b/.github/workflows/firebaseai.yml index 2759b961b..ba2cfa86c 100644 --- a/.github/workflows/firebaseai.yml +++ b/.github/workflows/firebaseai.yml @@ -16,7 +16,6 @@ concurrency: env: SAMPLE: FirebaseAI - FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1 jobs: spm: diff --git a/scripts/test.sh b/scripts/test.sh index de3c3c20a..d8d873bf4 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -131,6 +131,11 @@ function xcb() { xcodebuild "$@" | xcpretty } +# Point SPM CI to the tip of `main` of +# https://github.com/google/GoogleAppMeasurement so that the release process +# can defer publishing the `GoogleAppMeasurement` tag until after testing. +export FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT=1 + # Run xcodebuild sudo xcode-select -s "/Applications/Xcode_${xcode_version}.app/Contents/Developer" xcb "${flags[@]}"