Fix ./script/symbolicate on Preview crashes (#8956)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-03-06 10:26:50 -07:00 committed by GitHub
parent b622dcbc64
commit deb86a1ffc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,11 +20,12 @@ arch="x86_64-apple-darwin"
if [[ "$cpu_type" == *ARM-64* ]]; then
arch="aarch64-apple-darwin"
fi
echo $bundle_id;
channel="stable"
if [[ "$bundle_id" == *nightly* ]]; then
if [[ "$bundle_id" == *Nightly* ]]; then
channel="nightly"
elif [[ "$bundle_id" == *preview* ]]; then
elif [[ "$bundle_id" == *Preview* ]]; then
channel="preview"
fi