Skip to content

Commit 39d645c

Browse files
committed
Add changelog template
1 parent fea76af commit 39d645c

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/changelog.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"resolve": "commits",
3-
"sort": "asc"
3+
"sort": "asc",
4+
"template": ".github/changelog.tmpl"
45
}

.github/changelog.tmpl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## {{.Version}}
2+
3+
{{range .Grouped -}}
4+
### {{ .Name }}
5+
6+
{{range .Items -}}
7+
* {{.Title}}{{if .IsPull}} ([contributed]({{.PullURL}}) by [{{.Author}}]({{.AuthorURL}})){{end}} \[[{{.CommitHashShort}}]({{.CommitURL}})\]
8+
{{end}}
9+
{{end}}
10+
11+
*For more details, see [{{.PreviousVersion}}..{{.Version}}]({{.CompareURL}})*

0 commit comments

Comments
 (0)