Skip to content

Commit

Permalink
edit release note template
Browse files Browse the repository at this point in the history
remove some spacing before each section header and make the header size
smaller

Signed-off-by: Clara Fu <[email protected]>
Co-authored-by: Taylor Silva <[email protected]>
  • Loading branch information
clarafu and taylorsilva committed Jul 21, 2020
1 parent 0ee6d8e commit 7a0cfc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generate/generate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func (s *GenerateSuite) TestGenerate() {
},

GenerateErr: generate.PullRequestsNotLabelled{
Urls: []string{
Identifiers: []string{
"http://pr/1",
"http://pr/3",
},
Expand Down
3 changes: 1 addition & 2 deletions generate/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ func indent(spaces int, v string) string {
const rawTemplate = `
{{range $section := .Sections}}
{{if $section.PRs }}
<br />
# {{$section.Icon}} {{$section.Title}}
## {{$section.Icon}} {{$section.Title}}
{{ range $pr := $section.PRs }}
* **{{$pr.Title}} (#{{$pr.Number}})** @{{$pr.Author}} <sub><sup><a name="{{$pr.Number}}" href="#{{$pr.Number}}">:link:</a></sup></sub>
Expand Down

0 comments on commit 7a0cfc0

Please sign in to comment.