aboutsummaryrefslogtreecommitdiff
path: root/.chglog
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2025-05-25 22:22:36 -0700
committerMax Resnick <max@ofmax.li>2025-05-25 22:22:36 -0700
commitf9931ac1af4b86e1704dfbde935b7ab78b45ad38 (patch)
treee05395d973d53b8036fc923af9b51f0146370a7d /.chglog
parent5054cd34c92c6c5d5ff4f8b8a6488c4ab1395f4b (diff)
downloadgo-bumpver-9c971aeaba74ad3c70b82099798129914d86fb09.tar.gz
fix: chglog config in wrong directoryHEADCHECKPOINT0.2.2master
Diffstat (limited to '.chglog')
-rwxr-xr-x.chglog/CHANGELOG.tpl.md12
-rw-r--r--.chglog/bk.tpl32
-rwxr-xr-x.chglog/config.yml27
3 files changed, 71 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/bk.tpl b/.chglog/bk.tpl
new file mode 100644
index 0000000..d438ac1
--- /dev/null
+++ b/.chglog/bk.tpl
@@ -0,0 +1,32 @@
+
+{{ if .Versions -}}
+## Unreleased
+
+{{ if .Unreleased.CommitGroups -}}
+{{ range .Unreleased.CommitGroups -}}
+### {{ .Title }}
+{{ range .Commits -}}
+- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
+{{ end }}
+{{ end -}}
+{{ end -}}
+{{ end -}}
+
+{{ range .Versions }}
+## {{ .Tag.Name }} - {{ 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 -}}
diff --git a/.chglog/config.yml b/.chglog/config.yml
new file mode 100755
index 0000000..6d4e82f
--- /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