Skip to content

Commit

Permalink
feat: modify changelog template
Browse files Browse the repository at this point in the history
  • Loading branch information
cudr committed Jun 21, 2020
1 parent e36c431 commit c40cdda
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
27 changes: 24 additions & 3 deletions changelog-template.hbs
Original file line number Diff line number Diff line change
@@ -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}}
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lerna": "2.7.1",
"version": "0.6.6",
"version": "0.6.7",
"npmClient": "yarn",
"useWorkspaces": true
}

0 comments on commit c40cdda

Please sign in to comment.