added chglog config
This commit is contained in:
parent
70a5fcf2a1
commit
10256c5bf3
22
.chglog/CHANGELOG.tpl.md
Normal file
22
.chglog/CHANGELOG.tpl.md
Normal file
|
@ -0,0 +1,22 @@
|
|||
{{ range .Versions }}
|
||||
## {{ .Tag.Name }} ({{ datetime "2006-01-02" .Tag.Date }})
|
||||
|
||||
{{ range .CommitGroups -}}
|
||||
### {{ .Title }}
|
||||
{{- $title := .Title }}
|
||||
|
||||
{{ range .Commits -}}
|
||||
* {{ (replace (upperFirst .Subject) $title "" 1) | trim | upperFirst }}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
|
||||
{{- if .NoteGroups -}}
|
||||
{{ range .NoteGroups -}}
|
||||
### {{ .Title }}
|
||||
|
||||
{{ range .Notes }}
|
||||
{{ .Body }}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
33
.chglog/config.yml
Normal file
33
.chglog/config.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
style: none
|
||||
template: CHANGELOG.tpl.md
|
||||
info:
|
||||
title: CHANGELOG
|
||||
repository_url: https://github.com/miawinter98/Wave
|
||||
options:
|
||||
tag_filter_pattern: '^(v|alpha-|beta-)'
|
||||
issues:
|
||||
prefix:
|
||||
- '#'
|
||||
commits:
|
||||
filters:
|
||||
Type:
|
||||
- Added
|
||||
- Changed
|
||||
- fixed
|
||||
- Implemented
|
||||
- Improved
|
||||
- Localized
|
||||
commit_groups:
|
||||
# title_maps:
|
||||
# feat: Features
|
||||
# fix: Bug Fixes
|
||||
# perf: Performance Improvements
|
||||
# refactor: Code Refactoring
|
||||
header:
|
||||
pattern: "^((\\w+)\\s.*)$"
|
||||
pattern_maps:
|
||||
- Subject
|
||||
- Type
|
||||
notes:
|
||||
keywords:
|
||||
- BREAKING CHANGE
|
Loading…
Reference in a new issue