mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 14:17:02 +00:00
Suppress noisy output from dsymutil in bundle-mac
This commit is contained in:
parent
ee0dfe9c44
commit
1805986d82
1 changed files with 6 additions and 2 deletions
|
@ -188,8 +188,12 @@ function prepare_binaries() {
|
||||||
local architecture=$1
|
local architecture=$1
|
||||||
local app_path=$2
|
local app_path=$2
|
||||||
|
|
||||||
echo "Unpacking dSYMs for $ architecture"
|
echo "Unpacking dSYMs for $architecture"
|
||||||
dsymutil --flat target/${architecture}/${target_dir}/Zed
|
if ! dsymutil --flat target/${architecture}/${target_dir}/Zed 2> ${target_dir}/dsymutil.log; then
|
||||||
|
echo "dsymmutil failed"
|
||||||
|
cat ${target_dir}/dsymutil.log
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
version="$(cargo metadata --no-deps --manifest-path crates/zed/Cargo.toml --offline --format-version=1 | jq -r '.packages | map(select(.name == "zed"))[0].version')"
|
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
|
if [ "$channel" == "nightly" ]; then
|
||||||
version="$version-$(git rev-parse --short HEAD)"
|
version="$version-$(git rev-parse --short HEAD)"
|
||||||
|
|
Loading…
Reference in a new issue