Skip to content

Commit

Permalink
fix bug of template
Browse files Browse the repository at this point in the history
  • Loading branch information
odanado committed Mar 26, 2024
1 parent 5401f9b commit 9bd9136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ func RenderTemplate(filename *string, data RenderTemplateData, disableGeneratedB
if runUrl != "" {
withinText = " within [GitHub Actions workflow](" + runUrl + ")"
}
template += `
footer := `
---
*Automatically generated by [git-pr-release-go](https://github.com/odanado/git-pr-release-go)%s*
`
text += fmt.Sprintf(template, withinText)
text += fmt.Sprintf(footer, withinText)
}

return text, nil
Expand Down

0 comments on commit 9bd9136

Please sign in to comment.