feat(release): tweak GitHub release description

This commit is contained in:
2021-10-10 22:41:26 +01:00
parent af23b63518
commit a956dc1b42

View File

@@ -22,11 +22,9 @@ var bodyTpl = template.Must(template.New("body").Funcs(tplFuncs).Parse(`
{{ with .SourceURL -}}
- Source: {{ . }}
{{- end }}
{{- if and .CommitSHA .CommitURL }}
- Commit: [{{ $t }}{{ .CommitSHA }}{{ $t }}]
{{- if .CommitURL }}({{ .CommitURL }}){{ end }}
{{- else if and .CommitSHA }}
- Commit: {{ $t }}{{ .CommitSHA }}{{ $t }}
{{- if .CommitURL }}
- Commit: {{ .CommitURL }}
{{- if .CommitSHA }} ({{ $t }}{{ .CommitSHA }}{{ $t }}){{ end }}
{{- end }}
{{- with .TarballURL }}
- Tarball: {{ . }}