Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Commit

Permalink
docs(template): Add git commit hash in CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhilip committed Aug 9, 2019
1 parent eca61b1 commit 76bc527
Show file tree
Hide file tree
Showing 2 changed files with 244 additions and 243 deletions.
6 changes: 3 additions & 3 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{ range .Unreleased.CommitGroups -}}
### {{ .Title }}
{{ range .Commits -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ({{ .Hash.Short }})
{{ end }}
{{ end -}}
{{ end -}}
Expand All @@ -18,7 +18,7 @@
{{ range .CommitGroups -}}
### {{ .Title }}
{{ range .Commits -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ({{ .Hash.Short }})
{{ end }}
{{ end -}}

Expand Down Expand Up @@ -53,4 +53,4 @@
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
{{ end -}}
{{ end -}}
{{ end -}}
{{ end -}}
Loading

0 comments on commit 76bc527

Please sign in to comment.