From 67ca71404cb39189d268e038bcd3d9ef0f140206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20L=C3=BCbke?= Date: Tue, 16 Aug 2022 12:29:56 +0200 Subject: [PATCH] chore: configure git-chglog for new commit style --- .chglog/CHANGELOG.tpl.md | 8 -------- .chglog/config.yml | 21 +++++++++++++-------- 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md index d75abe5..569adee 100755 --- a/.chglog/CHANGELOG.tpl.md +++ b/.chglog/CHANGELOG.tpl.md @@ -18,14 +18,6 @@ {{ end }} {{ end -}} -{{- if .MergeCommits -}} -### Merge Requests - -{{ range .MergeCommits -}} -* {{ .Header }} -{{ end }} -{{ end -}} - {{- if .NoteGroups -}} {{ range .NoteGroups -}} ### {{ .Title }} diff --git a/.chglog/config.yml b/.chglog/config.yml index 5cfabf4..1a2507d 100755 --- a/.chglog/config.yml +++ b/.chglog/config.yml @@ -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 \ No newline at end of file + - BREAKING CHANGE