File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,8 +68,7 @@ Skill / 命令手册随 `skills/bailian-cli/` 经 `npx skills add modelstudioai/
6868| 鉴权扩展 | 加 OAuth / SSO / 换 token 来源 | [ docs/agents/auth-change.md] ( docs/agents/auth-change.md ) |
6969| 配置项扩展 | 新 env var 或 ` ~/.bailian/config.json ` 字段 | [ docs/agents/config-add.md] ( docs/agents/config-add.md ) |
7070| Profile / 激活 | 改命名 Profile、预设或 ` active_config ` | [ docs/agents/config-profile-change.md] ( docs/agents/config-profile-change.md ) |
71- | 发布 | channel / stable 发布到 npm(CI 驱动) | [ docs/agents/publish.md] ( docs/agents/publish.md ) |
72- | 二进制分发 | Bun compile / install.sh / GitHub Releases / update 分流 | [ docs/agents/binary-distribution.md] ( docs/agents/binary-distribution.md ) |
71+ | 发布 | channel / stable 发 npm + 二进制(Bun / GitHub Release / OSS);安装脚本仓外维护 | [ docs/agents/publish.md] ( docs/agents/publish.md ) |
7372| Change Log | 发版说明 / 历史版本说明 | [ docs/agents/changelog-write.md] ( docs/agents/changelog-write.md ) |
7473| 工具链调整 | lint 规则 / 构建配置 / 依赖升级 | [ docs/agents/lint-toolchain.md] ( docs/agents/lint-toolchain.md ) |
7574| Command Pack | 扩展包 / 白名单 / plugin 管理命令 | [ docs/agents/command-pack.md] ( docs/agents/command-pack.md ) |
Original file line number Diff line number Diff line change 88curl -fsSL https://bailian.aliyun.com/install.sh | bash
99```
1010
11- 可选:默认读 ` manifest.json ` (正式版);` bash install.sh --channel sync-release ` 读 channel 清单做验证;` --version ` 钉版本;` --cdn ` / ` BAILIAN_CLI_CDN ` 覆盖资源 CDN 根。
11+ 可选:正式安装读 CDN 上的 ` manifest.json ` 。预发 / channel 验证示例:
12+
13+ ``` bash
14+ curl -fsSL https://bailian.aliyun.com/install.sh | bash -s -- --channel sync-release
15+ ```
16+
17+ 也可用 ` --version ` / ` --cdn ` (或环境变量 ` BAILIAN_CLI_CDN ` )覆盖资源根。安装脚本本身不在本仓库维护。
1218
1319Windows PowerShell:
1420
1521``` powershell
1622irm https://bailian.aliyun.com/install.ps1 | iex
1723```
1824
25+ 带参时先落盘再执行(` irm | iex ` 不便传参),或使用仓外静态资源文档中的预发入口。
26+
1927校验:
2028
2129``` bash
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ publish-stable.mjs / publish-channel.mjs ← 唯一发版入口
47474 . CI 自动:自检 → ** npm 发到 latest** → ** 推送 git tag ` v<ver> ` ** → ** Bun 编二进制并创建/更新 GitHub Release** → 完成
48485 . 如果所选发布集合的当前版本已全部存在于 npm,stable 发布会失败并提示先升级版本号;如果只有部分包已发布,CI 会继续补发缺失包
49496 . 对应脚本:` tools/release/publish-stable.mjs `
50- 7 . 二进制上传使用 ` GITHUB_TOKEN ` (` gh release ` ),** 不需要** OSS AccessKey
5150
5251## 自检(` tools/release/check.mjs ` )
5352
@@ -108,7 +107,6 @@ node tools/release/publish-channel.mjs --channel test --knowledge --dry-run
108107
109108- [ ] 验证 npm 上能装:` npm view bailian-cli@<tag> version ` ;如发布 ` knowledge-studio-cli ` ,同时 ` npm view knowledge-studio-cli@<tag> version `
110109- [ ] 试装一次:` npm i -g bailian-cli@<tag> && bl --version ` ;如发布 ` knowledge-studio-cli ` ,同时 ` npm i -g knowledge-studio-cli@<tag> && kscli --version `
111- - [ ] (若本次含二进制)GitHub Release 可见 ` bl-*.zip ` + ` SHA256SUMS ` ;OSS 侧 ` latest.json ` / ` <channel>.json ` 、` v<ver>/* ` 与 ` install.sh ` /` install.ps1 ` 已由 CI 直传
112110
113111## 常见漏点(基于历史踩坑)
114112
You can’t perform that action at this time.
0 commit comments