[WIP] chore: Distribute non-universal binaries on Mac (#9284)

Related: #6837, #8671 
Release Notes:

- Zed now ships as a non-universal binary, reducing binary size by ~50%.
This commit is contained in:
Piotr Osiewicz
2024-03-15 17:33:58 +01:00
committed by GitHub
parent dcdd1ece1c
commit d311a4b840
3 changed files with 208 additions and 150 deletions
+2
View File
@@ -59,6 +59,8 @@ sha=$(git rev-parse HEAD)
echo ${sha} > target/latest-sha
case "$target" in
macos)
uploadToSpaces "target/aarch64-apple-darwin/Zed.dmg" "Zed-aarch64.dmg"
uploadToSpaces "target/x86_64-apple-darwin/release/Zed.dmg" "Zed-x86_64.dmg"
uploadToSpaces "target/release/Zed.dmg" "Zed.dmg"
uploadToSpaces "target/latest-sha" "latest-sha"
;;