From: Bjørn Erik Pedersen Date: Fri, 25 May 2018 15:53:03 +0000 (+0200) Subject: releaser: Put release notes below /en X-Git-Tag: v0.41~4 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cfc5096e8311e099f9b01bb2a0588c2bd511b38d;p=brevno-suite%2Fhugo releaser: Put release notes below /en Fixes #4712 --- diff --git a/releaser/releasenotes_writer.go b/releaser/releasenotes_writer.go index 390760ee..c0ca39fd 100644 --- a/releaser/releasenotes_writer.go +++ b/releaser/releasenotes_writer.go @@ -262,7 +262,7 @@ func (r *ReleaseHandler) writeReleaseNotesToTemp(version string, infosMain, info func (r *ReleaseHandler) writeReleaseNotesToDocs(title, sourceFilename string) (string, error) { targetFilename := "index.md" bundleDir := strings.TrimSuffix(filepath.Base(sourceFilename), "-ready.md") - contentDir := hugoFilepath("docs/content/news/" + bundleDir) + contentDir := hugoFilepath("docs/content/en/news/" + bundleDir) targetFullFilename := filepath.Join(contentDir, targetFilename) if r.try {