chore(changelog): Add link to commit to changelog
This commit is contained in:
parent
3846a6b89a
commit
922b99337a
1 changed files with 40 additions and 40 deletions
|
@ -5,7 +5,7 @@
|
||||||
{{ range .Unreleased.CommitGroups -}}
|
{{ range .Unreleased.CommitGroups -}}
|
||||||
### {{ .Title }}
|
### {{ .Title }}
|
||||||
{{ range .Commits -}}
|
{{ range .Commits -}}
|
||||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} [{{.Hash.Short}}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Short }})
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
{{ range .CommitGroups -}}
|
{{ range .CommitGroups -}}
|
||||||
### {{ .Title }}
|
### {{ .Title }}
|
||||||
{{ range .Commits -}}
|
{{ range .Commits -}}
|
||||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} [{{.Hash.Short}}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Short }})
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{- if .Versions }}
|
{{- if .Versions }}
|
||||||
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD
|
[Unreleased]: {{ $.Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD
|
||||||
{{ range .Versions -}}
|
{{ range .Versions -}}
|
||||||
{{ if .Tag.Previous -}}
|
{{ if .Tag.Previous -}}
|
||||||
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
|
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
|
||||||
|
|
Loading…
Reference in a new issue