releaser: Adjust patch vs images logic

Fixes #5664
This commit is contained in:
Bjørn Erik Pedersen 2019-04-01 09:07:19 +02:00
parent f9d6feca08
commit f7ef7d3761
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ func (r *ReleaseHandler) writeReleaseNotesToDocs(title, sourceFilename string) (
defer f.Close()
fmTail := ""
if strings.Count(title, ".") > 1 {
if !strings.HasSuffix(title, ".0") {
// Bug fix release
fmTail = `
images: