Chronus Github 插件
此插件用于将克罗纳斯与Github集成.
提供下列功能:
Github 增强变化日志
更改日志条目将链接到添加它们的 pr .
将此添加到 .chronus/config.yaml
changelog: ["@chronus/github/changelog", { repo: "<user>/<repo>" }]
结果实例 :
## 0.16.0
### Bug Fixes
- [#365](https://github.com/timotheeguerin/chronus/pull/365) Fix `--exclude` not respected for `version`, `status` commands
### Features
- [#367](https://github.com/timotheeguerin/chronus/pull/367) Reverse order of change kinds in changelog. As changes are recommneded to be ordered from least disruptive to most in the config.
创建 Github 注释
命令生成一个注释,让您知道PR中有什么变化,并给出一个链接,直接在浏览器中添加更改日志.
chronus-github get-pr-comment --out ./comment-out/comment.json
这个必须用在 @chronus/github-pr-commenter 软件包,然后按 github 描述的 2 步进程发布 https://securitylab.github.com/research/github-actions- prevent-pwn-requests/* 互联网档案馆的存檔,存档日期2014-12-21* 联合国
创建 Github 发布
从出版摘要中创建 github 发布, 从 changelog.md 中取回更改日志 .
# Chronus publish the package and create a release summary
chronus publish --access public --report-summary ./publish-summary.json
# Chronus github uses the summary to create the github release
chronus-github create-releases --repo <user>/<name> --publish-summary ./publish-summary.json