mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
chore(cli): add changelog template files
This commit is contained in:
11
packages/vant-cli/template/changelog-commit.hbs
Normal file
11
packages/vant-cli/template/changelog-commit.hbs
Normal 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}}
|
||||
|
Reference in New Issue
Block a user