chore(cli): add changelog template files

This commit is contained in:
陈嘉涵
2019-12-28 22:11:39 +08:00
parent 4377a1f3aa
commit 2299879dff
7 changed files with 39 additions and 38 deletions
@@ -0,0 +1,11 @@
*{{#if scope}} {{scope}}:
{{~/if}} {{#if subject}}
{{~subject}}
{{~else}}
{{~header}}
{{~/if}}
{{#if references~}}
{{~#each references}} [{{~this.repository}}#{{this.issue}}]({{~@root.repoUrl}}/{{~@root.issue}}/{{this.issue}}){{/each}}
{{~else}} [{{shortHash}}]({{~@root.repoUrl}}/{{~@root.commit}}/{{hash}})
{{~/if}}
@@ -0,0 +1,2 @@
### [v{{version}}]({{~@root.repoUrl}}/compare/{{previousTag}}...{{currentTag}})
`{{date}}`
@@ -0,0 +1,12 @@
{{> header}}
{{#each commitGroups}}
{{#if title}}
**{{title}}**
{{/if}}
{{#each commits}}
{{> commit root=@root}}
{{/each}}
{{/each}}
{{> footer}}