Skip to content

Commit

Permalink
MAINTENANCE: Update configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Faust committed May 31, 2023
1 parent 1f6e724 commit c5b0162
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 29 deletions.
23 changes: 2 additions & 21 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

{{ if .Versions -}}
<a name="unreleased"></a>
## [Unreleased]

{{ if .Unreleased.CommitGroups -}}
Expand All @@ -19,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
{{ end -}}

{{ range .Versions }}
<a name="{{ .Tag.Name }}"></a>
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
{{ range .CommitGroups -}}
### {{ .Title }}
Expand All @@ -27,20 +22,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
{{ end }}
{{ end -}}

{{- if .RevertCommits -}}
### Reverts
{{ range .RevertCommits -}}
- {{ .Revert.Header }}
{{ end }}
{{ end -}}

{{- if .MergeCommits -}}
### Pull Requests
{{ range .MergeCommits -}}
- {{ .Header }}
{{ end }}
{{ end -}}

{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
### {{ .Title }}
Expand Down
20 changes: 12 additions & 8 deletions .chglog/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,20 @@ options:
commits:
filters:
Type:
- feat
- fix
- perf
- refactor
- ADDED
- CHANGED
- DEPRECATED
- REMOVED
- FIXED
- SECURITY
commit_groups:
title_maps:
feat: Added
fix: Fixed
perf: Changed
refactor: Changed
ADDED: Added
CHANGED: Changed
DEPRECATED: Deprecated
REMOVED: Removed
FIXED: Fixed
SECURITY: Security
header:
pattern: "^(\\w*)\\:\\s(.*)$"
pattern_maps:
Expand Down

0 comments on commit c5b0162

Please sign in to comment.