[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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 209 additions and 151 deletions

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"
;;