Philipp Hörist pushed to branch master at gajim / gajim
Commits: 597297c2 by lovetox at 2022-05-17T21:17:38+02:00 chore: Add config files for git-chglog
- - - - -
2 changed files:
- + .chglog/CHANGELOG.tpl.md - + .chglog/config.yml
Changes:
===================================== .chglog/CHANGELOG.tpl.md ===================================== @@ -0,0 +1,44 @@ +{{ if .Versions -}} +<a name="unreleased"></a> +## [Unreleased] + +{{ if .Unreleased.CommitGroups -}} +{{ range .Unreleased.CommitGroups -}} +{{ .Title }} + +{{ range .Commits -}} + * {{if .Refs}}{{range .Refs}}#{{.Ref}} {{end}}{{end}}{{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} +{{ end }} +{{ end -}} +{{ end -}} +{{ 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 }} +{{ range .Commits -}} + * {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} +{{ end }} +{{ end -}} + +{{- if .NoteGroups -}} +{{ range .NoteGroups -}} +{{ .Title }} +{{ range .Notes }} +{{ .Body }} +{{ end }} +{{ end -}} +{{ end -}} +{{ end -}} + +{{- if .Versions }} +[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD +{{ range .Versions -}} +{{ if .Tag.Previous -}} +[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }} +{{ end -}} +{{ end -}} +{{ end -}} \ No newline at end of file
===================================== .chglog/config.yml ===================================== @@ -0,0 +1,33 @@ +style: gitlab +template: CHANGELOG.tpl.md +info: + title: CHANGELOG + repository_url: https://dev.gajim.org/gajim/gajim +options: + commits: + filters: + Type: + - feat + - perf + - fix + commit_groups: + sort_by: Custom + title_order: + - feat + - perf + - fix + title_maps: + feat: New + perf: Performance Improvements + fix: Bug Fixes + header: + pattern: "^(\w*)\:\s(.*)$" + pattern_maps: + - Type + - Subject + issues: + prefix: + - "#" + refs: + actions: + - Fixes
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/597297c2729aa8a27add0141c747d4012...