Skip to content

版本发布

Vir edited this page Apr 7, 2022 · 3 revisions
> npm install dotenv-cli -g

> yarn release

复制 .env.example 文件,重命名为 .env 填写 GITHUB_TOKEN

如果你 fork 了本仓库,并在此基础上二次开发时才有用

另外每次提交需要改为 cz 然后选择 comment 类型

例:

> cz
[email protected], [email protected]

? Select the type of change that you're committing: (Use arrow keys)
> feat:     ✨ Features | 新功能 
  fix:      🐛 Bug Fixes | Bug 修复 
  perf:     ⚡ Performance Improvements | 性能优化 
  revert:   ⏪ Reverts | 回退
  chore:    📦 Chores | 其他更新
  docs:     📝 Documentation | 文档
  style:    💄 Styles | 风格
(Move up and down to reveal more choices)
Clone this wiki locally