From f950c37a73754d882334ef1319030498d775ab7c Mon Sep 17 00:00:00 2001 From: Haze <709547807@qq.com> Date: Tue, 10 Feb 2026 17:59:45 +0800 Subject: [PATCH] fix(release): streamline file upload and verification process (#36) --- .github/workflows/release.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f85c48951..eced6b49a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -319,9 +319,9 @@ jobs: # Upload all files with no-cache so clients always get the freshest version ossutil cp -r -f \ + --meta="Cache-Control:no-cache,no-store,must-revalidate" \ staging/latest/ \ - oss://valuecell-clawx/latest/ \ - --meta "Cache-Control:no-cache,no-store,must-revalidate" + oss://valuecell-clawx/latest/ echo "Uploaded to latest/" @@ -350,4 +350,8 @@ jobs: echo "" echo "=== Verify release-info.json ===" - curl -sL "https://valuecell-clawx.oss-cn-hangzhou.aliyuncs.com/latest/release-info.json" | jq . + echo "Reading release-info.json directly from OSS..." + ossutil cat oss://valuecell-clawx/latest/release-info.json | jq . + + echo "" + echo "✅ All files uploaded and verified successfully!"