Skip to content

Commit 3c943f0

Browse files
authored
Update tool of pushing podspecs. (#6370)
1 parent afc647c commit 3c943f0

File tree

3 files changed

+156
-103
lines changed

3 files changed

+156
-103
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ jobs:
2424
- name: Get token
2525
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access.txt.gpg \
2626
bot-access.txt "$bot_token_secret"
27-
- name: Update SpecStaging repo setup
27+
- name: Update SpecsTesting repo setup
2828
run: scripts/release_testing_setup.sh
29-
- name: Update SpecStaging repo
29+
- name: Update SpecsTesting repo
3030
run: |
3131
botaccess=`cat bot-access.txt`
3232
cd scripts/create_spec_repo/
3333
swift build
3434
pod repo add --silent "${local_repo}" https://"$botaccess"@github.com/FirebasePrivate/SpecsTesting.git
35-
BOT_TOKEN="${botaccess}" .build/debug/SpecRepoBuilder --sdk_repo "${local_sdk_repo_dir}" --local_spec_repo_name "${local_repo}"
35+
BOT_TOKEN="${botaccess}" .build/debug/spec-repo-builder --sdk-repo "${local_sdk_repo_dir}" --local-spec-repo-name "${local_repo}"
3636
- name: Clean Artifacts
3737
if: ${{ always() }}
3838
run: |

scripts/create_spec_repo/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import PackageDescription
2121
let package = Package(
2222
name: "PodSpecBuilder",
2323
products: [
24-
.executable(name: "SpecRepoBuilder", targets: ["SpecRepoBuilder"]),
24+
.executable(name: "spec-repo-builder", targets: ["SpecRepoBuilder"]),
2525
],
2626
dependencies: [
2727
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.3.0")),

0 commit comments

Comments
 (0)