aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--releaser/releasenotes_writer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/releaser/releasenotes_writer.go b/releaser/releasenotes_writer.go
index 6e683771c..15602dc44 100644
--- a/releaser/releasenotes_writer.go
+++ b/releaser/releasenotes_writer.go
@@ -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: