Skip to content

Commit f363d9f

Browse files
committed
Updated changelog template
1 parent 4bd6973 commit f363d9f

File tree

1 file changed

+20
-26
lines changed

1 file changed

+20
-26
lines changed

changelog.hbs

+20-26
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,28 @@
1-
# Changelog
2-
31
{{#each releases}}
4-
{{#if href}}
5-
## [{{title}}]({{href}}){{#if tag}} - {{isoDate}}{{/if}}
6-
{{else}}
7-
## {{title}}{{#if tag}} - {{isoDate}}{{/if}}
8-
{{/if}}
2+
{{#if @first}}
3+
{{#if summary}}
4+
{{summary}}
5+
{{/if}}
96

10-
{{#if summary}}
11-
{{summary}}
12-
{{/if}}
7+
{{#if merges}}
8+
### Merged
139

14-
{{#if merges}}
15-
### Merged
10+
{{#each merges}}
11+
- {{message}} {{#if href}}[`#{{id}}`]({{href}}){{/if}}
12+
{{/each}}
13+
{{/if}}
1614

17-
{{#each merges}}
18-
- {{message}} {{#if href}}[`#{{id}}`]({{href}}){{/if}}
19-
{{/each}}
20-
{{/if}}
15+
{{#if fixes}}
16+
### Fixed
2117

22-
{{#if fixes}}
23-
### Fixed
18+
{{#each fixes}}
19+
- {{commit.subject}}{{#each fixes}} {{#if href}}[`#{{id}}`]({{href}}){{/if}}{{/each}}
20+
{{/each}}
21+
{{/if}}
2422

25-
{{#each fixes}}
26-
- {{commit.subject}}{{#each fixes}} {{#if href}}[`#{{id}}`]({{href}}){{/if}}{{/each}}
27-
{{/each}}
28-
{{/if}}
29-
30-
{{#commit-list commits heading='### Commits'}}
31-
- {{#if breaking}}**Breaking change:** {{/if}}{{subject}} {{#if href}}[`{{shorthash}}`]({{href}}){{/if}}
32-
{{/commit-list}}
23+
{{#commit-list commits heading='### Commits'}}
24+
- {{#if breaking}}**Breaking change:** {{/if}}{{subject}} {{#if href}}[`{{shorthash}}`]({{href}}){{/if}}
25+
{{/commit-list}}
3326

27+
{{/if}}
3428
{{/each}}

0 commit comments

Comments
 (0)