mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user