aboutsummaryrefslogtreecommitdiffhomepage
path: root/releaser
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2018-05-25 17:53:03 +0200
committerBjørn Erik Pedersen <[email protected]>2018-05-25 17:53:03 +0200
commitcfc5096e8311e099f9b01bb2a0588c2bd511b38d (patch)
treec4e029f95d9762318417045970f1bb2093c75dc8 /releaser
parentab02594e09c0414124186e42d67d52d474dd341a (diff)
downloadhugo-cfc5096e8311e099f9b01bb2a0588c2bd511b38d.tar.gz
hugo-cfc5096e8311e099f9b01bb2a0588c2bd511b38d.zip
releaser: Put release notes below /en
Fixes #4712
Diffstat (limited to 'releaser')
-rw-r--r--releaser/releasenotes_writer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/releaser/releasenotes_writer.go b/releaser/releasenotes_writer.go
index 390760ee3..c0ca39fd8 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 {