summaryrefslogtreecommitdiff
path: root/.chglog
diff options
context:
space:
mode:
authorJames Mills <james@mills.io>2022-08-01 03:22:17 +0000
committerJames Mills <james@mills.io>2022-08-01 03:22:17 +0000
commit35217febfc2c5d6a7e5d5d2b0b3c10a168fb2ed1 (patch)
treea9e7276d1e607646da113a4bf52fbb1698e1818a /.chglog
parent3b7c29eb8abbc63eb817e5533e40adcc62c5e8da (diff)
Add support for multi-arch binary and docker image releases (#20)
Reviewed-on: https://git.mills.io/prologic/tube/pulls/20
Diffstat (limited to '.chglog')
-rwxr-xr-x.chglog/CHANGELOG.tpl.md22
-rwxr-xr-x.chglog/config.yml37
2 files changed, 59 insertions, 0 deletions
diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md
new file mode 100755
index 0000000..c989a89
--- /dev/null
+++ b/.chglog/CHANGELOG.tpl.md
@@ -0,0 +1,22 @@
+{{ range .Versions }}
+<a name="{{ .Tag.Name }}"></a>
+## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})
+
+{{ range .CommitGroups -}}
+### {{ .Title }}
+
+{{ range .Commits -}}
+* {{ .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..2c69658
--- /dev/null
+++ b/.chglog/config.yml
@@ -0,0 +1,37 @@
+---
+style: Github
+template: CHANGELOG.tpl.md
+info:
+ title: CHANGELOG
+ repository_url: https://git.mills.io/prologic/tube
+options:
+ commits:
+ filters:
+ Type:
+ - Add
+ - Fix
+ - Update
+ - Document
+ commit_groups:
+ title_maps:
+ Add: Features
+ Update: Updates
+ Fix: Bug Fixes
+ Document: Documentation
+ header:
+ pattern: "^((\\w+)\\s.*)$"
+ pattern_maps:
+ - Subject
+ - Type
+ refs:
+ actions:
+ - Closes
+ - Fixes
+ reverts:
+ pattern: "^Revert \"([\\s\\S]*)\"$"
+ pattern_maps:
+ - Header
+ notes:
+ keywords:
+ - NOTE
+ - BREAKING CHANGE