Skip to content

Commit

Permalink
doc: Changelog process (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
mglotov authored Oct 18, 2021
1 parent db0bb53 commit 0c77eed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ project adheres to [Semantic Versioning](http://semver.org/).
{{ end -}}

{{ range .Versions }}

{{ if ne .Tag.Name "v1.0.0" }}

<a name="{{ .Tag.Name }}"></a>
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
{{ if .CommitGroups -}}
Expand Down Expand Up @@ -64,6 +67,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
{{ end -}}
{{ end -}}
{{ end -}}
{{ end -}}

{{- if .Versions }}
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD
Expand Down
2 changes: 1 addition & 1 deletion .chglog/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ style: github
template: CHANGELOG.tpl.md
info:
title: CHANGELOG
repository_url: https://github.com/maddevsio/aws-eks-base
repository_url: https://github.com/mglotov/practice-git-1
options:
commits:
sort_by: Type
Expand Down

0 comments on commit 0c77eed

Please sign in to comment.