Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove deploy artifacts after uploads (#11726)
Kirill Bulatov692afdca2724
diff --git a/script/upload-nightly b/script/upload-nightlyindex 298050b25a8..e2637a39b9d 100755--- a/script/upload-nightly+++ b/script/upload-nightly@@ -39,12 +39,16 @@ case "$target" inupload_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; doupload_to_blob_store $bucket_name "$bundle_file" "nightly/$(basename "$bundle_file")"+ rm -f "$bundle_file"doneupload_to_blob_store $bucket_name "target/latest-sha" "nightly/latest-sha-linux-targz"+ rm -f "target/latest-sha";;*)echo "Error: Unknown target '$target'"