Skip to content

Commit 15a3116

Browse files
authored
Exclude FirebaseSegmentation in testing (#6736)
1 parent db6013c commit 15a3116

File tree

4 files changed

+5
-12
lines changed

4 files changed

+5
-12
lines changed

.github/workflows/prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
cd scripts/create_spec_repo/
3737
swift build
3838
pod repo add --silent "${local_repo}" https://"$botaccess"@github.com/FirebasePrivate/SpecsReleasing.git
39-
BOT_TOKEN="${botaccess}" .build/debug/spec-repo-builder --sdk-repo "${local_sdk_repo_dir}" --local-spec-repo-name "${local_repo}" --sdk-repo-name SpecsReleasing --pod-sources 'https://${BOT_TOKEN}@github.com/FirebasePrivate/SpecsReleasing' --pod-sources "https://github.com/CocoaPods/Specs"
39+
BOT_TOKEN="${botaccess}" .build/debug/spec-repo-builder --sdk-repo "${local_sdk_repo_dir}" --local-spec-repo-name "${local_repo}" --sdk-repo-name SpecsReleasing --pod-sources 'https://${BOT_TOKEN}@github.com/FirebasePrivate/SpecsReleasing' --pod-sources "https://github.com/firebase/SpecsStaging.git" --pod-sources "https://cdn.cocoapods.org/"
4040
- name: Clean Artifacts
4141
if: ${{ always() }}
4242
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
paths:
66
- '.github/workflows/release.yml'
7-
- 'scripts/create_spec_repo/*'
7+
- 'scripts/create_spec_repo/**'
88
workflow_dispatch:
99
schedule:
1010
# Run every day at 11pm (PST) - cron uses UTC times

scripts/create_spec_repo/Sources/SpecRepoBuilder/main.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ extension Constants {
2424
static let dependencyLineSeparators = CharacterSet(charactersIn: " ,/")
2525
static let podSources = [
2626
"https://${BOT_TOKEN}@github.com/FirebasePrivate/SpecsTesting",
27-
"https://github.com/CocoaPods/Specs",
27+
"https://github.com/firebase/SpecsStaging.git",
28+
"https://cdn.cocoapods.org/",
2829
]
29-
static let exclusivePods: [String] = ["GoogleAppMeasurement", "FirebaseAnalytics"]
30+
static let exclusivePods: [String] = ["FirebaseSegmentation"]
3031
}
3132

3233
// flags for 'pod push'

scripts/release_testing_setup.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,3 @@ if [ -n "$tag_version" ]; then
7070
# ":tag => test"
7171
sed -i "" "s/\s*:tag.*/:tag => '${tag_version}'/" *.podspec
7272
fi
73-
74-
if [ -n "$sdk_version_config" ]; then
75-
cd "${GITHUB_WORKSPACE}/ZipBuilder"
76-
swift build
77-
# Update Pod versions.
78-
./.build/debug/firebase-pod-updater --git-root "${local_sdk_repo_dir}" --releasing-pods "${sdk_version_config}"
79-
echo "sdk versions are updated based on ${sdk_version_config}."
80-
fi

0 commit comments

Comments
 (0)