Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit 5b0e72a

Browse files
committed
chore(release): 1.0.0
1 parent 9defac3 commit 5b0e72a

File tree

3 files changed

+318
-300
lines changed

3 files changed

+318
-300
lines changed

.chglog/CHANGELOG.tpl.md

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

.chglog/config.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ info:
55
repository_url: https://github.com/m0nhawk/grafana_api
66
options:
77
commits:
8-
# filters:
9-
# Type:
10-
# - feat
11-
# - fix
12-
# - perf
13-
# - refactor
8+
filters:
9+
Type:
10+
- feat
11+
- fix
12+
- perf
13+
- refactor
1414
commit_groups:
15-
# title_maps:
16-
# feat: Features
17-
# fix: Bug Fixes
18-
# perf: Performance Improvements
19-
# refactor: Code Refactoring
15+
title_maps:
16+
feat: Features
17+
fix: Bug Fixes
18+
perf: Performance Improvements
19+
refactor: Code Refactoring
2020
header:
2121
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
2222
pattern_maps:
@@ -25,4 +25,4 @@ options:
2525
- Subject
2626
notes:
2727
keywords:
28-
- BREAKING CHANGE
28+
- BREAKING CHANGE

0 commit comments

Comments
 (0)