Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

bundle: Skip sentry upload for local install on macOS (#42231)

claytonrcarter4511d11a1168
diff --git a/script/bundle-mac b/script/bundle-mac
index b559768348b..c647424d7ee 100755
--- a/script/bundle-mac
+++ b/script/bundle-mac
@@ -280,7 +280,9 @@ function sign_binary() {
}
function upload_debug_symbols() {
- if [[ -n "${SENTRY_AUTH_TOKEN:-}" ]]; then
+ if [ "$local_install" = true ]; then
+ echo "local install; skipping sentry upload."
+ elif [[ -n "${SENTRY_AUTH_TOKEN:-}" ]]; then
echo "Uploading zed debug symbols to sentry..."
exe_path="target/${target_triple}/release/Zed"
if ! dsymutil --flat "target/${target_triple}/${target_dir}/zed" 2> target/dsymutil.log; then