-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathchangelog-template.handlebars
56 lines (49 loc) · 1.65 KB
/
changelog-template.handlebars
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Changelog
All notable changes to this project will be added to this file.
{{#tags}}
## [{{name}}] {{#ifReleaseTag .}}({{tagDate .}}){{/ifReleaseTag}}
{{#ifContainsBreaking commits}}
### Breaking changes
{{#commits}}
{{#ifCommitBreaking .}}
- {{#eachCommitScope .}} **{{.}}** {{/eachCommitScope}} {{{commitDescription
.}}} ([{{hash}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}))
{{/ifCommitBreaking}}
{{/commits}}
{{/ifContainsBreaking}}
{{#ifContainsType commits type='feat'}}
### Features
{{#commits}}
{{#ifCommitType . type='feat'}}
-{{#eachCommitScope .}} **{{.}}** {{/eachCommitScope}} {{{commitDescription
.}}} ([{{hash}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}))
{{/ifCommitType}}
{{/commits}}
{{/ifContainsType}}
{{#ifContainsType commits type='fix'}}
### Bug Fixes
{{#commits}}
{{#ifCommitType . type='fix'}}
-{{#eachCommitScope .}} **{{.}}** {{/eachCommitScope}} {{{commitDescription
.}}} ([{{hash}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}))
{{/ifCommitType}}
{{/commits}}
{{/ifContainsType}}
{{#ifContainsType commits type='change'}}
### Changes
{{#commits}}
{{#ifCommitType . type='change'}}
-{{#eachCommitScope .}} **{{.}}** {{/eachCommitScope}} {{{commitDescription
.}}} ([{{hash}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}))
{{/ifCommitType}}
{{/commits}}
{{/ifContainsType}}
{{#ifContainsType commits type='build'}}
### Dependencies
{{#commits}}
{{#ifCommitScope . scope='deps'}}
- {{{commitDescription .}}} ([{{hash}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}))
{{/ifCommitScope}}
{{/commits}}
{{/ifContainsType}}
{{/tags}}