File tree Expand file tree Collapse file tree 4 files changed +5
-12
lines changed
create_spec_repo/Sources/SpecRepoBuilder Expand file tree Collapse file tree 4 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 36
36
cd scripts/create_spec_repo/
37
37
swift build
38
38
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/ "
40
40
- name : Clean Artifacts
41
41
if : ${{ always() }}
42
42
run : |
Original file line number Diff line number Diff line change 4
4
pull_request :
5
5
paths :
6
6
- ' .github/workflows/release.yml'
7
- - ' scripts/create_spec_repo/*'
7
+ - ' scripts/create_spec_repo/** '
8
8
workflow_dispatch :
9
9
schedule :
10
10
# Run every day at 11pm (PST) - cron uses UTC times
Original file line number Diff line number Diff line change @@ -24,9 +24,10 @@ extension Constants {
24
24
static let dependencyLineSeparators = CharacterSet ( charactersIn: " ,/ " )
25
25
static let podSources = [
26
26
" 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/ " ,
28
29
]
29
- static let exclusivePods : [ String ] = [ " GoogleAppMeasurement " , " FirebaseAnalytics " ]
30
+ static let exclusivePods : [ String ] = [ " FirebaseSegmentation " ]
30
31
}
31
32
32
33
// flags for 'pod push'
Original file line number Diff line number Diff line change @@ -70,11 +70,3 @@ if [ -n "$tag_version" ]; then
70
70
# ":tag => test"
71
71
sed -i " " " s/\s*:tag.*/:tag => '${tag_version} '/" * .podspec
72
72
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
You can’t perform that action at this time.
0 commit comments