Repository navigation
chore(release): prepare v0.3.0 and limit help labels to top level - #55
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
准备 0.3.0 发布,并统一命令帮助中的层级标识:仅根级
bk-cli -h的 Available Commands 列表显示[root]/[system];进入任一命令后,帮助首行与子命令列表均不再带这些前缀。CHANGELOG.md新增 2026-11-02 的 0.3.0 发布日志,按 v0.2.9 到当前 master 的实际变更汇总 Monitor 新功能及网关权限申请认证限制,保留历史条目;Monitor 新能力集中在 Highlights 介绍。latest.json更新为v0.3.0,将npm/package.json更新为0.3.0;二进制仍由构建参数或发布 tag 注入版本。验证:新增帮助回归测试,先复现失败、修正后通过;
make fmt已执行并撤回无关测试文件的格式化。最终make lint(0 issues)、make test(28 suites)、make build VERSION=0.3.0、git diff --check均通过。实际遍历命令树,确认根级 20 个命令的标识正确,全部 252 个非根命令的帮助均无前缀,且-h/--help一致。已核对二进制/npm/latest 版本一致及旧版 changelog 原样保留。未运行 Docker API 集成场景;未改变 API 请求行为或覆盖率门槛。本 PR 完成发布准备;未创建 tag,未发布 GitHub Release 或 npm 包。