docs: 平台仓改为公开 —— 消费方可匿名 clone / 拉 release 包
- Gitea 仓 private=false(API 改;实测匿名 GET repo/release/asset 均 200/206,gzip 正常) - docs §6.2 与 CLAUDE §4.2 补「公开仓无需凭据;fetch-platform.sh 自动有凭据带凭据、无凭据走匿名」
This commit is contained in:
1 parent
3093ec49fe
commit
dc051d485d
2 files changed
+6
No files matched your search
@@ -279,6 +279,10 @@ bash scripts/release.sh 0.5.1 --publish # 出包 + 推 Gitea Release(ta
|
||||
repo `ssw/ssw-platform`,可用 `GITEA_URL` / `GITEA_REPO` / `GITEA_USER` / `GITEA_PASS` 覆盖
|
||||
(凭据缺省取本机 `git credential`)。
|
||||
|
||||
🔓 **平台仓已设为公开**(2026-11-05,`private=false`)⇒ 消费方 clone 与下载 release asset
|
||||
**均无需凭据**(实测匿名 `GET /releases/download/...` 返回 206、gzip 正常)。`fetch-platform.sh`
|
||||
会自动「有凭据带凭据、没凭据走匿名」。
|
||||
|
||||
> ⚠️ Gitea 默认附件上限 100M,本包约 146M;本机已把 `[attachment] MAX_SIZE` 调到 500
|
||||
> (`persist/gits/gitea/conf/app.ini`,备份 `app.ini.bak-*`)。换环境需同步调大,否则上传 413。
|
||||
|
||||
|
||||
Reference in new issue
Block a user