diff --git a/script/bundle-mac b/script/bundle-mac index b559768348bccf4db64f1436e9eb970e1fbde014..c647424d7ee657f6ca3e94c3cb94957fcf50ad98 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