Skip to content

Commit

Permalink
Fix script/install-linux in non-CI settings (#22465)
Browse files Browse the repository at this point in the history
Closes #22456 

Release Notes:

- N/A
  • Loading branch information
cole-miller authored Dec 28, 2024
1 parent 02cc0b9 commit a3dec64
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions script/bundle-linux
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
"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 \
"zed-debug-symbols" \
"${target_dir}/${remote_server_triple}/release/remote_server.dbg.gz" \
"$channel/remote_server-$version-${remote_server_triple}.dbg.gz"

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"
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
Expand Down

0 comments on commit a3dec64

Please sign in to comment.