diff options
| author | Max Resnick <max@ofmax.li> | 2024-08-26 21:16:40 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2024-08-26 21:16:40 -0700 |
| commit | 4d55e5d1dc56c421344f88aebf01deec2daa7bbe (patch) | |
| tree | 9b5540f08aeecc4d5fef0d20a82b5669ceb70d34 /.chglog | |
| parent | 72af81e9ebca394f6afa3f669a3ca241c912b4c4 (diff) | |
| download | go-git-server-4d55e5d1dc56c421344f88aebf01deec2daa7bbe.tar.gz | |
feat: add git changelog
Diffstat (limited to '.chglog')
| -rwxr-xr-x | .chglog/CHANGELOG.tpl.md | 12 | ||||
| -rwxr-xr-x | .chglog/config.yml | 27 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md new file mode 100755 index 0000000..27f4fca --- /dev/null +++ b/.chglog/CHANGELOG.tpl.md @@ -0,0 +1,12 @@ +{{ if .Versions -}} +{{ range .Versions }} +## {{ .Tag.Name }} - {{ datetime "2006-01-02" .Tag.Date }} + +{{ range .CommitGroups -}} +### {{ .Title }} +{{ range .Commits -}} +- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} +{{ end }} +{{ end -}} +{{ end -}} +{{ end -}} diff --git a/.chglog/config.yml b/.chglog/config.yml new file mode 100755 index 0000000..5b772c3 --- /dev/null +++ b/.chglog/config.yml @@ -0,0 +1,27 @@ +style: none +template: CHANGELOG.tpl.md +info: + title: CHANGELOG + repository_url: https://git.ofmax.li/go-bumpver +options: + commits: + # filters: + # Type: + # - feat + # - fix + # - perf + # - refactor + commit_groups: + # title_maps: + # feat: Features + # fix: Bug Fixes + # perf: Performance Improvements + # refactor: Code Refactoring + header: + pattern: "^(\\w*)\\:\\s(.*)$" + pattern_maps: + - Type + - Subject + notes: + keywords: + - BREAKING CHANGE
\ No newline at end of file |