forked from takl95/standard-branch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangelog-template.hbs
72 lines (53 loc) · 3.25 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
{{#each releases}}
{{#if href}}
## [{{title}}]({{href}}){{#if tag}} - {{isoDate}}{{/if}}
{{else}}
## {{title}}{{#if tag}} - {{isoDate}}{{/if}}
{{/if}}
{{#if summary}}
{{summary}}
{{/if}}
{{#if merges}}
### ⛙ Merged
{{#each merges}}
- {{#if commit.breaking}}**Breaking change:** {{/if}}{{message}} {{#if href}}[`!{{id}}`]({{href}}) 👈 {{commit.author}}{{/if}}
{{/each}}
{{/if}}
{{#commit-list commits heading='### 🐞 Bugfixes' message='fix: '}}
- {{subject}} [`{{shorthash}}`]({{href}}) 👈 {{author}} {{#each fixes}} {{#if href}}[`{{id}}`]({{href}}) 👈 {{author}}{{/if}}{{/each}}
{{/commit-list}}
{{#commit-list commits heading='### 🔥 Features' message='feat: '}}
- {{subject}} [`{{shorthash}}`]({{href}}) 👈 {{author}} {{#each fixes}} {{#if href}}[`{{id}}`]({{href}}) 👈 {{author}}{{/if}}{{/each}}
{{/commit-list}}
{{#commit-list commits heading='### ♻ Refactors' message='refactor: '}}
- {{subject}} [`{{shorthash}}`]({{href}}) 👈 {{author}} {{#each fixes}} {{#if href}}[`{{id}}`]({{href}}) 👈 {{author}}{{/if}}{{/each}}
{{/commit-list}}
{{#commit-list commits heading='### ⚙ Build Process' message='build: '}}
- {{subject}} [`{{shorthash}}`]({{href}}) 👈 {{author}} {{#each fixes}} {{#if href}}[`{{id}}`]({{href}}) 👈 {{author}}{{/if}}{{/each}}
{{/commit-list}}
{{#commit-list commits heading='### 🤖 CI Process' message='ci: '}}
- {{subject}} [`{{shorthash}}`]({{href}}) 👈 {{author}} {{#each fixes}} {{#if href}}[`{{id}}`]({{href}}) 👈 {{author}}{{/if}}{{/each}}
{{/commit-list}}
{{#commit-list commits heading='### ↩ Reverts' message='revert: '}}
- {{subject}} [`{{shorthash}}`]({{href}}) 👈 {{author}} {{#each fixes}} {{#if href}}[`{{id}}`]({{href}}) 👈 {{author}}{{/if}}{{/each}}
{{/commit-list}}
{{#commit-list commits heading='### 🏡 Chore' message='chore: '}}
- {{subject}} [`{{shorthash}}`]({{href}}) 👈 {{author}} {{#each fixes}} {{#if href}}[`{{id}}`]({{href}}) 👈 {{author}}{{/if}}{{/each}}
{{/commit-list}}
{{#commit-list commits heading='### 👌 Code Style' message='style: '}}
- {{subject}} [`{{shorthash}}`]({{href}}) 👈 {{author}} {{#each fixes}} {{#if href}}[`{{id}}`]({{href}}) 👈 {{author}}{{/if}}{{/each}}
{{/commit-list}}
{{#commit-list commits heading='### 📝 Documenation' message='docs: '}}
- {{subject}} [`{{shorthash}}`]({{href}}) 👈 {{author}} {{#each fixes}} {{#if href}}[`{{id}}`]({{href}}) 👈 {{author}}{{/if}}{{/each}}
{{/commit-list}}
{{#commit-list commits heading='### 👓 Tests' message='test: '}}
- {{subject}} [`{{shorthash}}`]({{href}}) 👈 {{author}} {{#each fixes}} {{#if href}}[`{{id}}`]({{href}}) 👈 {{author}}{{/if}}{{/each}}
{{/commit-list}}
{{#commit-list commits heading='### 🤷 Other' exclude='fix:|test:|feat:|docs:|chore:|refactor:|style:|ci:|build:' }}
- {{#if breaking}}**Breaking change:** {{/if}}{{subject}} {{#if href}}[`{{shorthash}}`]({{href}}) 👈 {{author}}{{/if}}
{{/commit-list}}
{{/each}}