Encapsulate the changes needed for the blade renderer
This commit is contained in:
@@ -135,16 +135,14 @@ echo "Bundled ${app_path}"
|
||||
|
||||
if [ "$local_arch" = false ]; then
|
||||
echo "Uploading dSYMs"
|
||||
dsymutil --flat target/aarch64-apple-darwin/release/Zed
|
||||
dsymutil --flat target/x86_64-apple-darwin/release/Zed
|
||||
dsymutil --flat target/aarch64-apple-darwin/${target_dir}/Zed
|
||||
dsymutil --flat target/x86_64-apple-darwin/${target_dir}/Zed
|
||||
version="$(cargo metadata --no-deps --manifest-path crates/zed/Cargo.toml --offline --format-version=1 | jq -r '.packages | map(select(.name == "zed"))[0].version')"
|
||||
if [ "$channel" == "nightly" ]; then
|
||||
version="$version-$(git rev-parse --short HEAD)"
|
||||
fi
|
||||
gzip target/aarch64-apple-darwin/release/Zed.dwarf
|
||||
gzip target/x86_64-apple-darwin/release/Zed.dwarf
|
||||
uploadDsym target/aarch64-apple-darwin/release/Zed.dwarf.gz "$channel/Zed-$version-aarch64-apple-darwin.dwarf.gz"
|
||||
uploadDsym target/x86_64-apple-darwin/release/Zed.dwarf.gz "$channel/Zed-$version-x86_64-apple-darwin.dwarf.gz"
|
||||
gzip target/aarch64-apple-darwin/${target_dir}/Zed.dwarf
|
||||
gzip target/x86_64-apple-darwin/${target_dir}/Zed.dwarf
|
||||
|
||||
echo "Creating fat binaries"
|
||||
lipo \
|
||||
|
||||
Reference in New Issue
Block a user