diff options
Diffstat (limited to 'releaser/releasenotes_writer.go')
-rw-r--r-- | releaser/releasenotes_writer.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/releaser/releasenotes_writer.go b/releaser/releasenotes_writer.go index c0ca39fd8..06e621ff2 100644 --- a/releaser/releasenotes_writer.go +++ b/releaser/releasenotes_writer.go @@ -125,16 +125,16 @@ var templateFuncs = template.FuncMap{ return fmt.Sprintf(issueLinkTemplate, id, id) }, "commitURL": func(info gitInfo) string { - if info.GitHubCommit.HtmlURL == "" { + if info.GitHubCommit.HTMLURL == "" { return "" } - return fmt.Sprintf(linkTemplate, info.Hash, info.GitHubCommit.HtmlURL) + return fmt.Sprintf(linkTemplate, info.Hash, info.GitHubCommit.HTMLURL) }, "authorURL": func(info gitInfo) string { if info.GitHubCommit.Author.Login == "" { return "" } - return fmt.Sprintf(linkTemplate, "@"+info.GitHubCommit.Author.Login, info.GitHubCommit.Author.HtmlURL) + return fmt.Sprintf(linkTemplate, "@"+info.GitHubCommit.Author.Login, info.GitHubCommit.Author.HTMLURL) }, } |