diff options
author | Bjørn Erik Pedersen <[email protected]> | 2018-05-25 17:53:03 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-05-25 17:53:03 +0200 |
commit | cfc5096e8311e099f9b01bb2a0588c2bd511b38d (patch) | |
tree | c4e029f95d9762318417045970f1bb2093c75dc8 /releaser | |
parent | ab02594e09c0414124186e42d67d52d474dd341a (diff) | |
download | hugo-cfc5096e8311e099f9b01bb2a0588c2bd511b38d.tar.gz hugo-cfc5096e8311e099f9b01bb2a0588c2bd511b38d.zip |
releaser: Put release notes below /en
Fixes #4712
Diffstat (limited to 'releaser')
-rw-r--r-- | releaser/releasenotes_writer.go | 2 |
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 { |