changelog update
This commit is contained in:
parent
ddd93ff926
commit
df65fc3b3d
|
@ -3,15 +3,19 @@
|
|||
## 1、安装Commitizen
|
||||
|
||||
> Commitizen是一个格式化commit message的工具。
|
||||
> bee-tools 请更新到最新版本。【0.4.1】
|
||||
|
||||
npm install -g commitizen
|
||||
|
||||
npm install bee-tools/npm update bee-tools
|
||||
|
||||
|
||||
|
||||
## 2、初始化配置
|
||||
|
||||
>如果你项目中已经安装了changelog忽略此步骤
|
||||
|
||||
在项目中执行
|
||||
> 如果你项目中已经安装了changelog忽略此步骤
|
||||
|
||||
bee-tools run changelogInit
|
||||
|
||||
|
@ -31,16 +35,53 @@
|
|||
|
||||
执行 bee-tools run pub
|
||||
|
||||
提示: do you wang run changelog ?(y/n)
|
||||
直接回车即可。
|
||||
please enter the package version to publish (should be xx.xx.xx) (1.0.2) //输入即将要发布的版本号
|
||||
|
||||
do you wang run changelog ?(y/n) (y) // y或直接回车
|
||||
|
||||
选择本次修改的类型。
|
||||
![](media/15096985213268/15101285321317.jpg)
|
||||
|
||||
What is the scope of this change (e.g. component or file name)? (press enter to skip) //输入描述(50字以内)
|
||||
|
||||
eg: > 本次修复了弹出框的问题。
|
||||
|
||||
Write a short, imperative tense description of the change: //
|
||||
|
||||
eg: > 请参考issues中回复。
|
||||
|
||||
Provide a longer description of the change: (press enter to skip)
|
||||
|
||||
eg: > 回车
|
||||
|
||||
Are there any breaking changes?
|
||||
|
||||
eg: > y
|
||||
|
||||
Describe the breaking changes
|
||||
eg: > 1. 修改了弹出框的问题。
|
||||
2. 修复了xx问题。
|
||||
|
||||
Does this change affect any open issues? (y/N)
|
||||
|
||||
eg: > y
|
||||
|
||||
Add issue references (e.g. "fix #123", "re #123".):
|
||||
|
||||
Closes #x //issues 的编号
|
||||
|
||||
|
||||
如果确定修改完毕,执行发布命令,在发布命令中,会让你输入是否是否再次生成log 的提交。(可选)
|
||||
|
||||
## 5、关闭issues
|
||||
|
||||
## 3、git cz 命令截图
|
||||
Closes issues编号
|
||||
eg:Closes #8
|
||||
|
||||
## 6、git cz 命令截图
|
||||
![](media/15093486333182/15094390880861.jpg)
|
||||
|
||||
## 4、效果截图
|
||||
## 7、效果截图
|
||||
![](media/15093486333182/15094393010120.jpg)
|
||||
|
||||
|
||||
|
@ -61,3 +102,4 @@
|
|||
revert: 撤销改动先前的提交
|
||||
|
||||
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 42 KiB |
Binary file not shown.
Before Width: | Height: | Size: 244 KiB |
Binary file not shown.
Before Width: | Height: | Size: 33 KiB |
Binary file not shown.
After Width: | Height: | Size: 155 KiB |
Binary file not shown.
After Width: | Height: | Size: 155 KiB |
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
Loading…
Reference in New Issue