aboutsummaryrefslogtreecommitdiffhomepage
path: root/releaser
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2019-04-01 09:11:36 +0200
committerBjørn Erik Pedersen <[email protected]>2019-04-01 09:11:36 +0200
commit9225db636e2f9b75f992013a25c0b149d6bd8b0d (patch)
treebce168ac4cac8b5825a8dc324a78c58d5a7e6fb7 /releaser
parentf7ef7d3761f2bc543f672c56b7af309d942bca97 (diff)
downloadhugo-9225db636e2f9b75f992013a25c0b149d6bd8b0d.tar.gz
hugo-9225db636e2f9b75f992013a25c0b149d6bd8b0d.zip
releaser: Remove version replacement in docs config
Fixes #5665
Diffstat (limited to 'releaser')
-rw-r--r--releaser/releaser.go6
1 files changed, 0 insertions, 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
}