From 20953ecb9dbc413dcd1aad232ab3dd8ec4412418 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Fri, 7 Nov 2025 12:43:08 -0700 Subject: [PATCH] Make nightly bucket objects public (#42229) Makes it easier to port updates to cloudflare Closes #ISSUE Release Notes: - N/A --- script/upload-nightly | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/script/upload-nightly b/script/upload-nightly index abeedc5527520965c7eb5f5714d3d757702711b0..043085989f248c4845bf4c8cb788c78b9f21b61a 100755 --- a/script/upload-nightly +++ b/script/upload-nightly @@ -5,14 +5,13 @@ source script/lib/blob-store.sh bucket_name="zed-nightly-host" - for file_to_upload in ./release-artifacts/*; do [ -f "$file_to_upload" ] || continue - upload_to_blob_store $bucket_name "$file_to_upload" "nightly/$(basename "$file_to_upload")" - upload_to_blob_store $bucket_name "$file_to_upload" "${GITHUB_SHA}/$(basename "$file_to_upload")" + upload_to_blob_store_public $bucket_name "$file_to_upload" "nightly/$(basename "$file_to_upload")" + upload_to_blob_store_public $bucket_name "$file_to_upload" "${GITHUB_SHA}/$(basename "$file_to_upload")" rm -f "$file_to_upload" done sha=$(git rev-parse HEAD) echo -n ${sha} > ./release-artifacts/latest-sha -upload_to_blob_store $bucket_name "release-artifacts/latest-sha" "nightly/latest-sha" +upload_to_blob_store_public $bucket_name "release-artifacts/latest-sha" "nightly/latest-sha"