diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md index 5520bc1..8a42729 100755 --- a/.chglog/CHANGELOG.tpl.md +++ b/.chglog/CHANGELOG.tpl.md @@ -8,7 +8,7 @@ #### {{ .Title }} {{ range .Commits }} - {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} - [`{{ slice .Hash 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} + [`{{ printf "%s" .Hash | slice 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} {{ end }} {{ end }} {{ end }} @@ -17,7 +17,7 @@ ### Pull Requests {{ range .MergeCommits }} - {{ .Header }} - [`{{ slice .Hash 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} + [`{{ printf "%s" .Hash | slice 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} {{ end }} {{ end }} @@ -25,7 +25,7 @@ ### Reverts {{ range .RevertCommits }} - {{ .Revert.Header }} - [`{{ slice .Hash 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} + [`{{ printf "%s" .Hash | slice 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} {{ end }} {{ end }}