releaser: Put release notes below /en

Fixes #4712
This commit is contained in:
Bjørn Erik Pedersen 2018-05-25 17:53:03 +02:00
parent ab02594e09
commit cfc5096e83
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View 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 {