generated from Platform-OS/pos-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangelog-template.hbs
41 lines (33 loc) · 982 Bytes
/
changelog-template.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Changelog
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
{{#each releases}}
{{#if href}}
## [{{title}}]({{href}})
{{else}}
## {{title}}
{{/if}}
{{#if niceDate}}
> {{niceDate}}
{{/if}}
{{#if summary}}
{{summary}}
{{/if}}
### Breaking changes
{{#each merges}}
{{#if commit.breaking}}- {{message}}{{#if href}} [`#{{id}}`]({{href}}){{/if}}{{/if}}
{{/each}}
{{#each fixes}}
{{#if commit.breaking}}- {{commit.subject}}{{#each fixes}}{{#if href}} [`#{{id}}`]({{href}}){{/if}}{{/each}}{{/if}}
{{/each}}
{{#each commits}}
{{#if breaking}}- {{subject}}{{#if href}} [`{{shorthash}}`]({{href}}){{/if}}{{/if}}
{{/each}}
### Merged pull requests
{{#each merges}}
- {{message}}{{#if href}} [`#{{id}}`]({{href}}){{/if}}
{{/each}}
### Fixes
{{#each fixes}}
- {{commit.subject}}{{#each fixes}}{{#if href}} [`#{{id}}`]({{href}}){{/if}}{{/each}}
{{/each}}
{{/each}}