// 先安装
npm install commitizen -g
// 在project目录初始化
commitizen init lyn-conventional-changelog --save-dev --save-exact
- Make changes(修改)
- Commit those changes(提交)
- Make sure Travis turns green(运行ci)
- Bump version in package.json(提高版本号)
- conventionalChangelog(生成changelog)
- Commit package.json and CHANGELOG.md files(提交package.json和changelog)
- Tag(打tag)
- Push(push 代码)