Skip to content

Commit 56c12d7

Browse files
committed
build(changelog): πŸ‘· Added changelog
1 parent 2b2dcb3 commit 56c12d7

File tree

3 files changed

+548
-0
lines changed

3 files changed

+548
-0
lines changed

β€Ž.chglog/CHANGELOG.tpl.mdβ€Ž

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# {{ .Info.Title }}
2+
3+
{{ if .Versions -}}
4+
{{ if .Unreleased.CommitGroups -}}
5+
<a name="unreleased"></a>
6+
## Unreleased
7+
8+
{{ range .Unreleased.CommitGroups -}}
9+
### {{ .Title }}
10+
{{ range .Commits -}}
11+
- [`{{ .Hash.Short }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Long }}) {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
12+
{{ if .Body }}
13+
{{ .Body | replace "\n" "\n\t" }}
14+
{{ end -}}
15+
{{ end }}
16+
{{ end -}}
17+
{{ end -}}
18+
{{ end -}}
19+
20+
{{ range .Versions }}
21+
<a name="{{ .Tag.Name }}"></a>
22+
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }}
23+
24+
> Released on {{ datetime "January 02, 2006" .Tag.Date }}
25+
26+
{{ range .CommitGroups -}}
27+
### {{ .Title }}
28+
{{ range .Commits -}}
29+
- [`{{ .Hash.Short }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Long }}) {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
30+
{{ if .Body }}
31+
{{ .Body | replace "\n" "\n\t" }}
32+
{{ end -}}
33+
{{ end }}
34+
{{ end -}}
35+
36+
{{- if .RevertCommits -}}
37+
### βͺ Reverts
38+
39+
{{ range .RevertCommits -}}
40+
- [`{{ .Hash.Short }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Long }}) {{ .Revert.Header }}
41+
{{ if .Body }}
42+
{{ .Body | replace "\n" "\n\t" }}
43+
{{ end -}}
44+
{{ end }}
45+
{{ end -}}
46+
47+
{{- if .MergeCommits -}}
48+
### πŸ”€ Pull Requests
49+
50+
{{ range .MergeCommits -}}
51+
- [`{{ .Hash.Short }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Long }}) {{ .Header }}
52+
{{ if .Body }}
53+
{{ .Body | replace "\n" "\n\t" }}
54+
{{ end -}}
55+
{{ end }}
56+
{{ end -}}
57+
58+
{{- if .NoteGroups -}}
59+
{{ range .NoteGroups -}}
60+
### {{ .Title }}
61+
62+
{{ range .Notes }}
63+
{{ .Body }}
64+
{{ end }}
65+
{{ end -}}
66+
{{ end -}}
67+
{{ end -}}

β€Ž.chglog/config.ymlβ€Ž

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
style: github
2+
template: CHANGELOG.tpl.md
3+
info:
4+
title: CHANGELOG
5+
repository_url: https://github.com/maicol07/flarum_sso_php_plugin
6+
options:
7+
#commits:
8+
# filters:
9+
# Type:
10+
# - feat
11+
# - fix
12+
# - perf
13+
# - refactor
14+
commit_groups:
15+
sort_by: Custom
16+
title_order:
17+
- feat
18+
- update
19+
- perf
20+
- fix
21+
- refactor
22+
- style
23+
- build
24+
- chore
25+
title_maps:
26+
feat: ✨ Features
27+
fix: πŸ› Bug Fixes
28+
fixed: πŸ› Bug Fixes
29+
perf: ⚑ Performance Improvements
30+
refactor: β™» Code Refactoring
31+
revert: βͺ Reverted
32+
update: πŸ”„ Updates
33+
build: πŸ‘· Building scripts changes
34+
chore: Other changes
35+
style: 🎨 Code styling
36+
docs: πŸ“ Documentation changes
37+
header:
38+
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
39+
pattern_maps:
40+
- Type
41+
- Scope
42+
- Subject
43+
notes:
44+
keywords:
45+
- BREAKING CHANGE

0 commit comments

Comments
Β (0)