From a297ab9d7ce7545e6d08dfb7f82af1b762bd139e Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Wed, 27 Dec 2017 19:30:04 +0100 Subject: [PATCH] Add PrimaryURL to github template --- changelog/changelog-github.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog/changelog-github.tmpl b/changelog/changelog-github.tmpl index 2a1775f07..59ecd1c0e 100644 --- a/changelog/changelog-github.tmpl +++ b/changelog/changelog-github.tmpl @@ -8,7 +8,7 @@ restic users. The changes are ordered by importance. Summary ------- {{ range $entry := .Entries }}{{ with $entry }} - * {{ .TypeShort }} #{{ .PrimaryID }}: {{ .Title }} + * {{ .TypeShort }} [#{{ .PrimaryID }}]({{ .PrimaryURL }}): {{ .Title }} {{- end }}{{ end }} Details @@ -22,7 +22,7 @@ Details [{{ $id }}](https://github.com/restic/restic/issues/{{ $id -}}) {{- end -}} {{ range $id := .PRs -}} -{{ ` ` }}[{{ $id }}](https://github.com/restic/restic/pull/{{ $id -}}) +{{ ` ` }}[#{{ $id }}](https://github.com/restic/restic/pull/{{ $id -}}) {{- end -}} {{ ` ` }}{{ range $url := .OtherURLs -}} {{ $url -}}