Skip to content

Commit dc506dd

Browse files
committed
zip testing
1 parent 80750eb commit dc506dd

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/zip.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
# - https://github.com/firebase/firebase-ios-sdk/actions/runs/17335533279
3333
description: 'Run ID of a previous successful zip workflow to use for quickstart testing'
3434
required: false
35-
default: ''
35+
default: '17965877651' #TODO(ncooke3): Revert back to ''.
3636

3737
concurrency:
3838
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}

scripts/remove_data.sh

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,20 @@ set -xe
1616

1717
SDK="$1"
1818

19+
if [[ -z "$SDK" ]]; then
20+
echo "Error: SDK name not provided." >&2
21+
echo "Usage: $0 <SDKName>" >&2
22+
exit 1
23+
fi
24+
1925
DIR="${SDK}"
2026

21-
if [[ ! -z "$LEGACY" ]]; then
22-
DIR="${SDK}/Legacy${SDK}Quickstart"
27+
TARGET_DIR="quickstart-ios/${DIR}"
28+
29+
if [ ! -d "$TARGET_DIR" ]; then
30+
echo "Error: Directory '$TARGET_DIR' not found." >&2
31+
echo "Please provide a valid SDK name." >&2
32+
exit 1
2333
fi
2434

25-
rm -f quickstart-ios/"${DIR}"/GoogleService-Info.plist
35+
rm -f "${TARGET_DIR}"/GoogleService-Info.plist

0 commit comments

Comments
 (0)