Skip to content

Commit

Permalink
Add breaking change prefix to merges and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Apr 10, 2020
1 parent 2383380 commit 0aff625
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/compact.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
{{/if}}

{{#each merges}}
- {{message}}{{#if href}} [`#{{id}}`]({{href}}){{/if}}
- {{#if commit.breaking}}**Breaking change:** {{/if}}{{message}}{{#if href}} [`#{{id}}`]({{href}}){{/if}}
{{/each}}
{{#each fixes}}
- {{commit.subject}}{{#each fixes}}{{#if href}} [`#{{id}}`]({{href}}){{/if}}{{/each}}
- {{#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}}
Expand Down
4 changes: 2 additions & 2 deletions templates/keepachangelog.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
### Merged

{{#each merges}}
- {{message}} {{#if href}}[`#{{id}}`]({{href}}){{/if}}
- {{#if commit.breaking}}**Breaking change:** {{/if}}{{message}} {{#if href}}[`#{{id}}`]({{href}}){{/if}}
{{/each}}
{{/if}}

{{#if fixes}}
### Fixed

{{#each fixes}}
- {{commit.subject}}{{#each fixes}} {{#if href}}[`#{{id}}`]({{href}}){{/if}}{{/each}}
- {{#if commit.breaking}}**Breaking change:** {{/if}}{{commit.subject}}{{#each fixes}} {{#if href}}[`#{{id}}`]({{href}}){{/if}}{{/each}}
{{/each}}
{{/if}}

Expand Down

0 comments on commit 0aff625

Please sign in to comment.