Skip to content

Commit f950c37

Browse files
authored
fix(release): streamline file upload and verification process (#36)
1 parent c527974 commit f950c37

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,9 @@ jobs:
319319
320320
# Upload all files with no-cache so clients always get the freshest version
321321
ossutil cp -r -f \
322+
--meta="Cache-Control:no-cache,no-store,must-revalidate" \
322323
staging/latest/ \
323-
oss://valuecell-clawx/latest/ \
324-
--meta "Cache-Control:no-cache,no-store,must-revalidate"
324+
oss://valuecell-clawx/latest/
325325
326326
echo "Uploaded to latest/"
327327
@@ -350,4 +350,8 @@ jobs:
350350
351351
echo ""
352352
echo "=== Verify release-info.json ==="
353-
curl -sL "https://valuecell-clawx.oss-cn-hangzhou.aliyuncs.com/latest/release-info.json" | jq .
353+
echo "Reading release-info.json directly from OSS..."
354+
ossutil cat oss://valuecell-clawx/latest/release-info.json | jq .
355+
356+
echo ""
357+
echo "✅ All files uploaded and verified successfully!"

0 commit comments

Comments
 (0)