Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

script: Fix upload-nightly versioning (#43933)

Piotr Osiewicz33513292af6e
diff --git a/script/upload-nightly b/script/upload-nightly
index 527af96ab91..12e7c16ef75 100755
--- a/script/upload-nightly
+++ b/script/upload-nightly
@@ -4,7 +4,7 @@ bash -euo pipefail
source script/lib/blob-store.sh
bucket_name="zed-nightly-host"
-version=$(./script/get-crate-version zed)-"${GITHUB_RUN_NUMBER}+${GITHUB_SHA}"
+version=$(./script/get-crate-version zed)+nightly."${GITHUB_RUN_NUMBER}.${GITHUB_SHA}"
for file_to_upload in ./release-artifacts/*; do
[ -f "$file_to_upload" ] || continue
diff --git a/script/upload-nightly.ps1 b/script/upload-nightly.ps1
index 7eb36650633..4400c4291b6 100644
--- a/script/upload-nightly.ps1
+++ b/script/upload-nightly.ps1
@@ -13,7 +13,7 @@ Write-Host "Uploading nightly for target: $target"
$bucketName = "zed-nightly-host"
$releaseVersion = & "$PSScriptRoot\get-crate-version.ps1" zed
-$version = "$releaseVersion-$env:GITHUB_RUN_NUMBER+$env:GITHUB_SHA"
+$version = "$releaseVersion+nightly.$env:GITHUB_RUN_NUMBER.$env:GITHUB_SHA"
# TODO:
# Upload remote server files