feat: modify changelog template

pull/21/head
cudr 4 years ago
parent e36c4318e2
commit c40cdda45d

@ -1,11 +1,32 @@
### Changelog
{{#unless options.hideCredit}}
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
{{/unless}}
{{#each releases}}
Released {{title}} {{href}} at {{niceDate}}
{{#if href}}
###{{#unless major}}#{{/unless}} [{{title}}]({{href}})
{{else}}
#### {{title}}
{{/if}}
{{#if tag}}
> {{niceDate}}
{{/if}}
{{#if summary}}
{{summary}}
{{/if}}
{{#each merges}}
- Merge {{message}} {{id}} {{href}}
- {{#if commit.breaking}}**Breaking change:** {{/if}}{{message}}{{#if href}} [`#{{id}}`]({{href}}){{/if}}
{{/each}}
{{#each fixes}}
- Fix {{commit}} {{commit.subject}} {{id}} linked to {{href}}.
- {{#if commit.breaking}}**Breaking change:** {{/if}}{{commit.subject}}{{#each fixes}}{{#if href}} [`#{{id}}`]({{href}}){{/if}}{{/each}}
{{/each}}
{{#each commits}}
- {{#if breaking}}**Breaking change:** {{/if}}{{subject}}{{#if href}} [`{{shorthash}}`]({{href}}){{/if}}
{{/each}}
{{/each}}

@ -1,6 +1,6 @@
{
"lerna": "2.7.1",
"version": "0.6.6",
"version": "0.6.7",
"npmClient": "yarn",
"useWorkspaces": true
}

Loading…
Cancel
Save