Skip to content

Commit d315449

Browse files
dmitshurgopherbot
authored andcommitted
cmd/relnote: let 'path' be implicit, move 'title' up
No need to repeat the path when it's implicitly specified via file path in x/website/_content. Also move the title key to be higher up. This is to make the generator match what we've been doing in x/website the last two releases. For golang/go#64169. Change-Id: Ic154bee804939e9e2a22bbe42d8aa108eba7e7d3 Reviewed-on: https://go-review.googlesource.com/c/build/+/633580 Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent bdcf30f commit d315449

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/relnote/generate.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ import (
1515
)
1616

1717
const prefixFormat = `---
18-
path: /doc/go1.%s
19-
template: false
2018
title: Go 1.%[1]s Release Notes
19+
template: false
2120
---
2221
2322
`

0 commit comments

Comments
 (0)