shithub: hugo

Download patch

ref: f7ef7d3761f2bc543f672c56b7af309d942bca97
parent: f9d6feca0802cd83c4d843244ce389cf7c792cec
author: Bjørn Erik Pedersen <[email protected]>
date: Mon Apr 1 05:07:19 EDT 2019

releaser: Adjust patch vs images logic

Fixes #5664

--- a/releaser/releasenotes_writer.go
+++ b/releaser/releasenotes_writer.go
@@ -286,7 +286,7 @@
 	defer f.Close()
 
 	fmTail := ""
-	if strings.Count(title, ".") > 1 {
+	if !strings.HasSuffix(title, ".0") {
 		// Bug fix release
 		fmTail = `
 images: