Skip to content

Commit 42e8fd5

Browse files
authored
fix: Update release.cocoapods.yml (#15865)
1 parent 84a5963 commit 42e8fd5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/release.cocoapods.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,19 +143,16 @@ jobs:
143143
env:
144144
ALLOW_WARNINGS: ${{ matrix.allowwarnings }}
145145
run: |
146-
[[ "$ALLOW_WARNINGS" == "true" ]] && ALLOWWARNINGS=true
147146
cd scripts/create_spec_repo/
148147
swift build
149148
pod repo add --silent "${local_repo}" https://"$botaccess"@github.com/Firebase/SpecsReleasing.git
150-
# ${ALLOWWARNINGS:+--allow-warnings} will add --allow-warnings to the
151-
# command if ${ALLOWWARNINGS} is not null.
152149
export BOT_TOKEN="${botaccess}"
153150
"${GITHUB_WORKSPACE}/scripts/third_party/travis/retry.sh" .build/debug/spec-repo-builder \
154151
--sdk-repo "${local_sdk_repo_dir}" \
155152
--local-spec-repo-name "${local_repo}" \
156153
--pod-sources "https://${BOT_TOKEN}@github.com/Firebase/SpecsReleasing" "https://github.com/firebase/SpecsStaging.git" "https://github.com/CocoaPods/Specs.git" \
157154
--include-pods "${targeted_pod}" \
158-
--keep-repo "${ALLOWWARNINGS:+--allow-warnings}"
155+
--keep-repo ${ALLOW_WARNINGS:+--allow-warnings}
159156
- name: Clean Artifacts
160157
if: ${{ always() }}
161158
run: pod repo remove "${local_repo}"

0 commit comments

Comments
 (0)