Skip to content

Commit 1c8017a

Browse files
committed
chore: generate changelog with git-chglog
1 parent 4060609 commit 1c8017a

3 files changed

Lines changed: 85 additions & 4 deletions

File tree

.github/changelog/CHANGELOG.tpl.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{{ if .Versions -}}
2+
{{ if .Unreleased.CommitGroups -}}
3+
<a name="unreleased"></a>
4+
## [Unreleased]
5+
6+
{{ range .Unreleased.CommitGroups -}}
7+
### {{ .Title }}
8+
{{ range .Commits -}}
9+
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
10+
{{ end }}
11+
{{ end -}}
12+
13+
{{- if .Unreleased.NoteGroups -}}
14+
{{ range .Unreleased.NoteGroups -}}
15+
### {{ .Title }}
16+
{{ range .Notes }}
17+
{{ .Body }}
18+
{{ end }}
19+
{{ end -}}
20+
{{ end -}}
21+
{{ end -}}
22+
{{ end -}}
23+
24+
{{ range .Versions }}
25+
<a name="{{ .Tag.Name }}"></a>
26+
## {{ .Tag.Name }} ({{ datetime "2006-01-02" .Tag.Date }})
27+
28+
{{ range .CommitGroups -}}
29+
### {{ .Title }}
30+
{{ range .Commits -}}
31+
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
32+
{{ end }}
33+
{{ end -}}
34+
35+
{{- if .NoteGroups -}}
36+
{{ range .NoteGroups -}}
37+
### {{ .Title }}
38+
{{ range .Notes }}
39+
{{ .Body }}
40+
{{ end }}
41+
{{ end -}}
42+
{{ end -}}
43+
{{ end -}}

.github/changelog/config.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
style: github
2+
template: CHANGELOG.tpl.md
3+
info:
4+
title: CHANGELOG
5+
repository_url: https://github.com/cloudsigma/docker-machine-driver-cloudsigma
6+
options:
7+
commits:
8+
filters:
9+
Type:
10+
- feat
11+
- fix
12+
- docs
13+
- chore
14+
- refactor
15+
commit_groups:
16+
title_maps:
17+
feat: Features
18+
fix: Bug Fixes
19+
docs: Documentation
20+
refactor: Code Refactoring
21+
chore: Maintaining
22+
header:
23+
pattern: "^(\\w*)(?:\\((.*)\\))?\\:\\s(.*)$"
24+
pattern_maps:
25+
- Type
26+
- Scope
27+
- Subject
28+
notes:
29+
keywords:
30+
- BREAKING CHANGE

CHANGELOG.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
# Changelog
2-
All notable changes to this project will be documented in this file.
1+
<a name="unreleased"></a>
2+
## [Unreleased]
33

4-
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
4+
### Maintaining
5+
* automate release process with GoReleaser
6+
7+
8+
<a name="1.0.2"></a>
9+
## 1.0.2 (2018-08-22)
10+
11+
12+
<a name="1.0.0"></a>
13+
## 1.0.0 (2018-04-10)
514

6-
## [Unreleased]

0 commit comments

Comments
 (0)