Fix script/install-linux in non-CI settings (#22465)

Closes #22456 

Release Notes:

- N/A
This commit is contained in:
Cole Miller 2024-12-28 10:59:54 -05:00 committed by GitHub
parent 02cc0b9afa
commit a3dec643a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,16 +70,18 @@ objcopy --strip-debug "${target_dir}/${target_triple}/release/cli"
objcopy --strip-debug "${target_dir}/${remote_server_triple}/release/remote_server"
gzip "${target_dir}/${target_triple}/release/zed.dbg"
upload_to_blob_store_public \
gzip "${target_dir}/${remote_server_triple}/release/remote_server.dbg"
if [[ -n "${DIGITALOCEAN_SPACES_SECRET_KEY}" && -n "${DIGITALOCEAN_SPACES_ACCESS_KEY}" ]]; then
upload_to_blob_store_public \
"zed-debug-symbols" \
"${target_dir}/${target_triple}/release/zed.dbg.gz" \
"$channel/zed-$version-${target_triple}.dbg.gz"
gzip "${target_dir}/${remote_server_triple}/release/remote_server.dbg"
upload_to_blob_store_public \
upload_to_blob_store_public \
"zed-debug-symbols" \
"${target_dir}/${remote_server_triple}/release/remote_server.dbg.gz" \
"$channel/remote_server-$version-${remote_server_triple}.dbg.gz"
fi
# Ensure that remote_server does not depend on libssl nor libcrypto, as we got rid of these deps.
if ldd "${target_dir}/${remote_server_triple}/release/remote_server" | grep -q 'libcrypto\|libssl'; then