chore: configure git-chglog for new commit style

This commit is contained in:
Max Lübke 2022-08-16 12:29:56 +02:00
parent 9461ebd8f3
commit 67ca71404c
2 changed files with 13 additions and 16 deletions

View File

@ -18,14 +18,6 @@
{{ end }}
{{ end -}}
{{- if .MergeCommits -}}
### Merge Requests
{{ range .MergeCommits -}}
* {{ .Header }}
{{ end }}
{{ end -}}
{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
### {{ .Title }}

View File

@ -12,16 +12,21 @@ options:
# - perf
# - refactor
commit_groups:
# title_maps:
# feat: Features
# fix: Bug Fixes
# perf: Performance Improvements
# refactor: Code Refactoring
title_maps:
feat: Features
fix: Bug Fixes
perf: Performance Improvements
refactor: Code Refactoring
chore: Housework
build: Build System
docs: Documentation
style: Code Style
test: Testing
header:
pattern: "^((\\w+)\\s.*)$"
pattern: "^(\\w*)\\:\\s(.*)$"
pattern_maps:
- Subject
- Type
- Subject
notes:
keywords:
- BREAKING CHANGE
- BREAKING CHANGE