releaser: Put release notes below /en
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 25 May 2018 15:53:03 +0000 (17:53 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 25 May 2018 15:53:03 +0000 (17:53 +0200)
Fixes #4712

releaser/releasenotes_writer.go

index 390760ee32d3e395db21f60ae3de10b637f866a0..c0ca39fd8e8cdda9330bb2fde5f6482dc1b6306c 100644 (file)
@@ -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 {