mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-11 05:28:20 -04:00
parent
f9d6feca08
commit
f7ef7d3761
@ -286,7 +286,7 @@ func (r *ReleaseHandler) writeReleaseNotesToDocs(title, sourceFilename string) (
|
|||||||
defer f.Close()
|
defer f.Close()
|
||||||
|
|
||||||
fmTail := ""
|
fmTail := ""
|
||||||
if strings.Count(title, ".") > 1 {
|
if !strings.HasSuffix(title, ".0") {
|
||||||
// Bug fix release
|
// Bug fix release
|
||||||
fmTail = `
|
fmTail = `
|
||||||
images:
|
images:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user