File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ update_spm_dependency() {
150
150
# For release testing, find the latest CocoaPods tag.
151
151
local latest_tag
152
152
latest_tag=$( git -C " $root_dir " tag -l " CocoaPods-*" --sort=-v:refname | \
153
- awk ' / ^CocoaPods-[0-9]+\.[0-9]+\.[0-9]+$/ { print; exit } ' )
153
+ grep -E ' ^CocoaPods-[0-9]+\.[0-9]+\.[0-9]+$' | head -n 1 )
154
154
if [[ -z " $latest_tag " ]]; then
155
155
echo " Error: Could not find a 'CocoaPods-X.Y.Z' tag." >&2
156
156
exit 1
@@ -214,8 +214,8 @@ main() {
214
214
source " $scripts_dir /check_secrets.sh"
215
215
216
216
# Some quickstarts may not need a real GoogleService-Info.plist for their
217
- # tests. When QUICKSTART_REPO is set, we are running locally and should skip
218
- # the secrets check.
217
+ # tests. When QUICKSTART_REPO is set (for local runs) or BYPASS_SECRET_CHECK
218
+ # is true, the secrets check is skipped .
219
219
if [[ -z " ${QUICKSTART_REPO:- } " ]] && \
220
220
[[ " ${BYPASS_SECRET_CHECK:- } " != " true" ]] && \
221
221
! check_secrets && \
You can’t perform that action at this time.
0 commit comments