Skip to content

Commit 1a9c17d

Browse files
authored
infra: Rename prerelease.yml workflow to prerelease_cocoapods.yml (#15486)
1 parent f3064cd commit 1a9c17d

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/prerelease.yml renamed to .github/workflows/prerelease_cocoapods.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: prerelease
1+
name: prerelease_cocoapods
22

33
permissions:
44
contents: write
@@ -8,7 +8,7 @@ on:
88
# closed will be triggered when a pull request is merged. This is to keep https://github.com/firebase/SpecsTesting up to date.
99
types: [closed]
1010
paths:
11-
- '.github/workflows/prerelease.yml'
11+
- '.github/workflows/prerelease_cocoapods.yml'
1212
workflow_dispatch:
1313
schedule:
1414
# Run every day at 10pm (PDT) / 1am (EDT) - cron uses UTC times
@@ -36,7 +36,7 @@ jobs:
3636
- name: Checkout code
3737
uses: actions/checkout@v4
3838
with:
39-
fetch-depth: 0
39+
fetch-depth: 0 # Required for pulling down repo tags.
4040
- name: Xcode
4141
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
4242
- name: Generate matrix
@@ -181,7 +181,7 @@ jobs:
181181
steps:
182182
- uses: actions/checkout@v4
183183
with:
184-
fetch-depth: 0
184+
fetch-depth: 0 # Required for pulling down repo tags.
185185
- name: Xcode
186186
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
187187
- name: Update SpecsTesting repo setup

docs/ContinuousIntegration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ The release workflow is to test podspecs corresponding to the latest release tag
7878
create a CocoaPods spec testing repo. Podspecs in this testing repo
7979
will have tags `Cocoapods-X.Y.Z`. This is to mimic a real released candidate.
8080

81-
#### Prerelease workflow
82-
[prerelease.yml](https://github.com/firebase/firebase-ios-sdk/tree/main/.github/workflows/prerelease.yml)
81+
#### Prerelease cocoapods workflow
82+
[prerelease_cocoapods.yml](https://github.com/firebase/firebase-ios-sdk/tree/main/.github/workflows/prerelease_cocoapods.yml)
8383

84-
The prerelease workflow is to test podspecs on the `main` branch, and create a testing repo. This is
84+
The prerelease_cocoapods workflow is to test podspecs on the `main` branch, and create a testing repo. This is
8585
to make sure podspecs are releasable, which means podspecs in the head can pass all tests and build
8686
up a candidate.
8787

@@ -100,11 +100,11 @@ in the SDK repo. A job to run `pod spec lint` is added to SDK testing workflows,
100100
Analytics, Auth, Core, Crashlytics, Database, Firestore, Functions, GoogleUtilities,
101101
InAppMessaging, Installations, Messaging, MLModelDownloader, Performance, RemoteConfig and Storage.
102102
These jobs will be triggered in presubmit and run pod spec lint with a source of
103-
Firebase/SpecsTesting repo, which is updated to the head of main nightly in the prerelease
103+
Firebase/SpecsTesting repo, which is updated to the head of main nightly in the prerelease_cocoapods
104104
workflow.
105105

106106
When these PRs are merged, then changed podspecs will be pod repo push to the Firebase/SpecsTesting
107-
repo, through `update_SpecTesting_repo` job in the prerelease workflow, to make sure the podspec
107+
repo, through `update_SpecTesting_repo` job in the prerelease_cocoapods workflow, to make sure the podspec
108108
repo is up-to-date.
109109

110110
### Daily Test Status Notification

scripts/create_spec_repo/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ with sources of
1111
where [SpecsTesting](https://github.com/firebase/SpecsTesting) is generated from the head of the
1212
main branch of [firebase-ios-sdk repo](https://github.com/firebase/firebase-ios-sdk).
1313

14-
The [prerelease workflow](https://github.com/firebase/firebase-ios-sdk/blob/main/.github/workflows/prerelease.yml#L11-L46)
14+
The [prerelease_cocoapods workflow](https://github.com/firebase/firebase-ios-sdk/blob/main/.github/workflows/prerelease_cocoapods.yml#L11-L46)
1515
will update the [SpecsTesting repo](https://github.com/firebase/SpecsTesting) nightly from the
1616
head of the main branch.
1717
In order to let presubmit tests run on the latest podspec repo, [SpecsTesting repo](https://github.com/firebase/SpecsTesting)
1818
will be updated when a PR with changed podspecs is merged.
1919
When this PR is merged, changed podspecs will be `pod repo push`ed to the podspec repo in
20-
[postsubmit tests](https://github.com/firebase/firebase-ios-sdk/blob/main/.github/workflows/prerelease.yml#L48-L94).
20+
[postsubmit tests](https://github.com/firebase/firebase-ios-sdk/blob/main/.github/workflows/prerelease_cocoapods.yml#L48-L94).
2121

2222
Since `pod spec lint` will test podspecs with remote sources. One PR with changes on multiple
2323
podspecs are not encouraged. Changes with multiple podspecs, including their dependencies, might
@@ -46,6 +46,6 @@ job in presubmit.
4646
4747
```
4848

49-
Once a PR is merged, [`update_SpecsTesting_repo` job](https://github.com/firebase/firebase-ios-sdk/blob/main/.github/workflows/prerelease.yml#L48)
50-
in the [prerelease workflow](https://github.com/firebase/firebase-ios-sdk/blob/main/.github/workflows/prerelease.yml)
49+
Once a PR is merged, [`update_SpecsTesting_repo` job](https://github.com/firebase/firebase-ios-sdk/blob/main/.github/workflows/prerelease_cocoapods.yml#L48)
50+
in the [prerelease_cocoapods workflow](https://github.com/firebase/firebase-ios-sdk/blob/main/.github/workflows/prerelease_cocoapods.yml)
5151
will automatically `pod repo push` changed podspecs in postsubmits,

0 commit comments

Comments
 (0)