From b33c2fa3cf5f5e8371150026da5f3fc99b21225e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E6=AD=A3=E8=B6=85?= Date: Fri, 11 Jul 2025 09:00:06 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4722381e..8740284e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -277,7 +277,7 @@ jobs: # Create latest.json (only for the first Linux build to avoid duplication) if [[ "${{ matrix.target }}" == "x86_64-unknown-linux-musl" ]]; then - VERSION="${GITHUB_REF#refs/tags/v}" + VERSION="${GITHUB_REF#refs/tags/}" echo "{\"version\":\"${VERSION}\",\"release_date\":\"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}" > latest.json $OSSUTIL_BIN cp latest.json oss://rustfs-version/latest.json --force fi