mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-05 19:35:29 +03:00
parent
6657e301cd
commit
692afdca27
@ -39,12 +39,16 @@ case "$target" in
|
||||
upload_to_blob_store $bucket_name "target/x86_64-apple-darwin/release/Zed.dmg" "nightly/Zed-x86_64.dmg"
|
||||
upload_to_blob_store $bucket_name "target/release/Zed.dmg" "nightly/Zed.dmg"
|
||||
upload_to_blob_store $bucket_name "target/latest-sha" "nightly/latest-sha"
|
||||
rm -f "target/aarch64-apple-darwin/release/Zed.dmg" "target/x86_64-apple-darwin/release/Zed.dmg" "target/release/Zed.dmg"
|
||||
rm -f "target/latest-sha"
|
||||
;;
|
||||
linux-targz)
|
||||
find . -type f -name "zed-*.tar.gz" -print0 | while IFS= read -r -d '' bundle_file; do
|
||||
upload_to_blob_store $bucket_name "$bundle_file" "nightly/$(basename "$bundle_file")"
|
||||
rm -f "$bundle_file"
|
||||
done
|
||||
upload_to_blob_store $bucket_name "target/latest-sha" "nightly/latest-sha-linux-targz"
|
||||
rm -f "target/latest-sha"
|
||||
;;
|
||||
*)
|
||||
echo "Error: Unknown target '$target'"
|
||||
|
Loading…
Reference in New Issue
Block a user