add change log

This commit is contained in:
lsxredrain 2021-08-31 11:00:15 +08:00
parent bf6ac94129
commit 9208d98dff
2 changed files with 22 additions and 2 deletions

View File

@ -59,6 +59,20 @@ Must be one of the following:
- **ci**: Changes provided by DevOps for CI purposes.
- **revert**: Reverts a previous commit.
+ commit 常用 type
+ type 含义
+ feat 新功能
+ fix 修复 bug
+ docs 修改文档
+ style 代码格式修改
+ refactor 重构(即不是新增功能,也不是修复 bug
+ perf 更改代码以提高性能
+ test 增加测试
+ build 构建过程或辅助工具的变动
+ ci 修改项目持续集成流程
+ chore 其他类型的提交
+ revert 恢复上一次提交
### Scope
There are no predefined scopes for this repository. A custom scope can be provided for clarity.
@ -79,4 +93,4 @@ Just as in the **subject**, use the imperative, present tense: "change" not "cha
The footer should contain any information about **Breaking Changes** and is also the place to reference GitHub issues that this commit **Closes**.
**Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines. The rest of the commit message is then used for this.
**Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines. The rest of the commit message is then used for this.

View File

@ -1 +1,7 @@
#!bash
#!/bin/bash -le
rimraf CHANGELOG.md && conventional-changelog -p angular -i CHANGELOG.md -r 0 -s
git add -A CHANGELOG.md
git commit -m "Update CHANGELOG.md"
git push