shithub: hugo

Download patch

ref: 9225db636e2f9b75f992013a25c0b149d6bd8b0d
parent: f7ef7d3761f2bc543f672c56b7af309d942bca97
author: Bjørn Erik Pedersen <[email protected]>
date: Mon Apr 1 05:11:36 EDT 2019

releaser: Remove version replacement in docs config

Fixes #5665

--- a/releaser/releaser.go
+++ b/releaser/releaser.go
@@ -298,12 +298,6 @@
 		return err
 	}
 
-	// docs/config.toml
-	if err := r.replaceInFile("docs/config.toml",
-		`release = "(.*)"`, fmt.Sprintf(`release = "%s"`, ver)); err != nil {
-		return err
-	}
-
 	return nil
 }