From 9225db636e2f9b75f992013a25c0b149d6bd8b0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 1 Apr 2019 09:11:36 +0200 Subject: [PATCH] releaser: Remove version replacement in docs config Fixes #5665 --- releaser/releaser.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/releaser/releaser.go b/releaser/releaser.go index 01c1d5219..5430e1f8b 100644 --- a/releaser/releaser.go +++ b/releaser/releaser.go @@ -298,12 +298,6 @@ func (r *ReleaseHandler) bumpVersions(ver hugo.Version) error { return err } - // docs/config.toml - if err := r.replaceInFile("docs/config.toml", - `release = "(.*)"`, fmt.Sprintf(`release = "%s"`, ver)); err != nil { - return err - } - return nil }