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

View File

@@ -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}}