From f9931ac1af4b86e1704dfbde935b7ab78b45ad38 Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Sun, 25 May 2025 22:22:36 -0700 Subject: fix: chglog config in wrong directory --- .chglog/CHANGELOG.tpl.md | 12 ++++++++++++ .chglog/bk.tpl | 32 ++++++++++++++++++++++++++++++++ .chglog/config.yml | 27 +++++++++++++++++++++++++++ .ghglog/CHANGELOG.tpl.md | 12 ------------ .ghglog/bk.tpl | 32 -------------------------------- .ghglog/config.yml | 27 --------------------------- 6 files changed, 71 insertions(+), 71 deletions(-) create mode 100755 .chglog/CHANGELOG.tpl.md create mode 100644 .chglog/bk.tpl create mode 100755 .chglog/config.yml delete mode 100755 .ghglog/CHANGELOG.tpl.md delete mode 100644 .ghglog/bk.tpl delete mode 100755 .ghglog/config.yml 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 diff --git a/.ghglog/CHANGELOG.tpl.md b/.ghglog/CHANGELOG.tpl.md deleted file mode 100755 index 27f4fca..0000000 --- a/.ghglog/CHANGELOG.tpl.md +++ /dev/null @@ -1,12 +0,0 @@ -{{ 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/.ghglog/bk.tpl b/.ghglog/bk.tpl deleted file mode 100644 index d438ac1..0000000 --- a/.ghglog/bk.tpl +++ /dev/null @@ -1,32 +0,0 @@ - -{{ 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/.ghglog/config.yml b/.ghglog/config.yml deleted file mode 100755 index 6d4e82f..0000000 --- a/.ghglog/config.yml +++ /dev/null @@ -1,27 +0,0 @@ -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 -- cgit v1.2.3