Skip to content

Commit c7fe8c8

Browse files
committed
feat: add chglog
1 parent 4506391 commit c7fe8c8

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

.chglog/CHANGELOG.tpl.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# CHANGELOG (rust-docs-mcp-server)
2+
3+
{{ range .Versions }}
4+
<a name="{{ .Tag.Name }}"></a>
5+
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }}
6+
7+
> {{ datetime "2006-01-02" .Tag.Date }}
8+
9+
{{ range .CommitGroups -}}
10+
### {{ .Title }}
11+
12+
{{ range .Commits -}}
13+
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
14+
{{ end }}
15+
{{ end -}}
16+
17+
{{- if .NoteGroups -}}
18+
{{ range .NoteGroups -}}
19+
### {{ .Title }}
20+
21+
{{ range .Notes }}
22+
{{ .Body }}
23+
{{ end }}
24+
{{ end -}}
25+
{{ end -}}
26+
{{ end -}}

.chglog/config.yml

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

0 commit comments

Comments
 (0)