Skip to content

Commit 473a1c3

Browse files
authored
ci: add git-chglog templates for the releases (#16)
1 parent 4057fd7 commit 473a1c3

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{{ range .Versions }}
2+
{{ range .CommitGroups -}}
3+
### {{ .Title }}
4+
5+
{{ range .Commits -}}
6+
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
7+
{{ end }}
8+
{{ end -}}
9+
10+
{{- if .RevertCommits -}}
11+
### Reverts
12+
13+
{{ range .RevertCommits -}}
14+
* {{ .Revert.Header }}
15+
{{ end }}
16+
{{ end -}}
17+
18+
{{- if .NoteGroups -}}
19+
{{ range .NoteGroups -}}
20+
### {{ .Title }}
21+
22+
{{ range .Notes }}
23+
{{ .Body }}
24+
{{ end }}
25+
{{ end -}}
26+
{{ end -}}
27+
{{ end -}}

.github/git-chglog/config.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
style: github
2+
template: CHANGELOG.tpl.md
3+
info:
4+
title: CHANGELOG
5+
repository_url: https://github.com/sysdiglabs/sysdig-mcp-server
6+
options:
7+
commits:
8+
commit_groups:
9+
title_maps:
10+
feat: Features
11+
fix: Bug Fixes
12+
perf: Performance Improvements
13+
refactor: Code Refactoring
14+
ci: Continuous Integration
15+
docs: Documentation
16+
chore: Small Modifications
17+
build: Compilation & Dependencies
18+
header:
19+
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
20+
pattern_maps:
21+
- Type
22+
- Scope
23+
- Subject
24+
notes:
25+
keywords:
26+
- BREAKING CHANGE

0 commit comments

Comments
 (0)