feat: changelog
背景
见issues
生成规则
主要依赖提交信息feat=>新增 fix=>修复 perf=>优化 Reverts => Reverts 疑问:回滚要放到changelog里吗
使用
npm run changelog
因为生成规则依赖提交信息所以merge的时候需要改正标题作为正式的标题,如果忘记改了,只能生成的时候手动改
效果

参考
模板:https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
| Name | Status | Preview | Updated |
|---|---|---|---|
| umi | ⬜️ Ignored (Inspect) | Jan 10, 2023 at 8:05AM (UTC) |
Codecov Report
Base: 29.36% // Head: 29.28% // Decreases project coverage by -0.08% :warning:
Coverage data is based on head (
ec83e0a) compared to base (dad374b). Patch has no changes to coverable lines.
:exclamation: Current head ec83e0a differs from pull request most recent head c1ca2a8. Consider uploading reports for the commit c1ca2a8 to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## master #9215 +/- ##
==========================================
- Coverage 29.36% 29.28% -0.09%
==========================================
Files 440 441 +1
Lines 12768 12803 +35
Branches 3101 3113 +12
==========================================
Hits 3749 3749
- Misses 8429 8463 +34
- Partials 590 591 +1
| Impacted Files | Coverage Δ | |
|---|---|---|
| packages/plugins/src/react-query.ts | 0.00% <0.00%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
@sorrycc 功能搞定了~看下是不是你想的那样~ci还有其他的我再看下
是不是应该检查下分支是不是主分支,主分支才让发布?
新方案,老方案代码都用不了了,重新开一个pr来做