Skip to content

Commit

Permalink
chore: update git-chglog configuration for releases (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma authored Jan 14, 2019
1 parent bb2f808 commit 664cb4f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 29 deletions.
21 changes: 5 additions & 16 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,15 @@
{{ if .Versions -}}
<a name="unreleased"></a>
## [Unreleased]

{{ if .Unreleased.CommitGroups -}}
{{ range .Unreleased.CommitGroups -}}
### {{ .Title }}
{{ range .Commits -}}
- {{ 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 }}
# {{ 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 -}}

#### Please report any issues here: https://github.com/Azure/aks-engine/issues/new

{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
### {{ .Title }}
Expand All @@ -39,4 +27,5 @@
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
{{ end -}}
{{ end -}}
{{ end -}}

{{ end -}}
26 changes: 13 additions & 13 deletions .chglog/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ info:
title: CHANGELOG
repository_url: https://github.com/Azure/aks-engine
options:
commits:
# filters:
# Type:
# - feat
# - fix
# - perf
# - refactor
commit_groups:
# title_maps:
# feat: Features
# fix: Bug Fixes
# perf: Performance Improvements
# refactor: Code Refactoring
title_maps:
build: Build 🏭
chore: Maintenance 🔧
ci: Continuous Integration 💜
docs: Documentation 📘
feat: Features 🌈
fix: Bug Fixes 🐞
perf: Performance Improvements 🚀
refactor: Code Refactoring 💎
revert: Revert Change ◀️
style: Code Style 🎶
test: Testing 💚
header:
pattern: "^(\\w*)\\:\\s(.*)$"
pattern_maps:
- Type
- Subject
notes:
keywords:
- BREAKING CHANGE
- BREAKING CHANGE

0 comments on commit 664cb4f

Please sign in to comment.