Do not rely on newline
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
e07903245a
commit
343b49704a
|
@ -74,7 +74,7 @@ PRLoop: // labels in Go, let's get old school
|
|||
}
|
||||
}
|
||||
|
||||
fmt.Printf(title)
|
||||
fmt.Println(title)
|
||||
for _, g := range config.Cfg.Groups {
|
||||
if len(entries[g.Name]) == 0 {
|
||||
continue
|
||||
|
|
|
@ -23,7 +23,7 @@ type Gitea struct{}
|
|||
|
||||
// Changelog returns a Gitea changelog
|
||||
func (ge Gitea) Changelog() (string, []PullRequest, error) {
|
||||
tagURL := fmt.Sprintf("## [%s](%s/%s/src/tag/v%s) - %s\n", Milestone, config.Cfg.BaseURL, config.Cfg.Repo, Milestone, time.Now().Format("2006-01-02"))
|
||||
tagURL := fmt.Sprintf("## [%s](%s/%s/src/tag/v%s) - %s", Milestone, config.Cfg.BaseURL, config.Cfg.Repo, Milestone, time.Now().Format("2006-01-02"))
|
||||
|
||||
client := gitea.NewAPIClient(&gitea.Configuration{
|
||||
BasePath: config.Cfg.BaseURL + "/api/v1",
|
||||
|
|
|
@ -20,7 +20,7 @@ type GitHub struct{}
|
|||
|
||||
// Changelog returns a GitHub changelog
|
||||
func (gh GitHub) Changelog() (string, []PullRequest, error) {
|
||||
tagURL := fmt.Sprintf("## [%s](https://github.com/%s/releases/tag/v%s) - %s\n", Milestone, config.Cfg.Repo, Milestone, time.Now().Format("2006-01-02"))
|
||||
tagURL := fmt.Sprintf("## [%s](https://github.com/%s/releases/tag/v%s) - %s", Milestone, config.Cfg.Repo, Milestone, time.Now().Format("2006-01-02"))
|
||||
|
||||
client := github.NewClient(nil)
|
||||
ctx := context.Background()
|
||||
|
|
Loading…
Reference in New Issue