releaser: Remove version replacement in docs config

Fixes #5665
This commit is contained in:
Bjørn Erik Pedersen 2019-04-01 09:11:36 +02:00
parent f7ef7d3761
commit 9225db636e
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -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
}