script: Fix upload-nightly versioning (#43933)

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz
2025-12-01 22:38:58 +01:00
committed by GitHub
parent 1535e95066
commit 33513292af
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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