mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-28 12:12:50 +00:00
parent
ab02594e09
commit
cfc5096e83
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ func (r *ReleaseHandler) writeReleaseNotesToTemp(version string, infosMain, info
|
||||||
func (r *ReleaseHandler) writeReleaseNotesToDocs(title, sourceFilename string) (string, error) {
|
func (r *ReleaseHandler) writeReleaseNotesToDocs(title, sourceFilename string) (string, error) {
|
||||||
targetFilename := "index.md"
|
targetFilename := "index.md"
|
||||||
bundleDir := strings.TrimSuffix(filepath.Base(sourceFilename), "-ready.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)
|
targetFullFilename := filepath.Join(contentDir, targetFilename)
|
||||||
|
|
||||||
if r.try {
|
if r.try {
|
||||||
|
|
Loading…
Reference in a new issue