more debug prints
This commit is contained in:
parent
48785100dc
commit
8a4d953713
|
@ -30,9 +30,12 @@ func GenerateChangelog(c *gitea.Client, owner string, repo string, lastRelease *
|
|||
|
||||
for _, pr := range prs {
|
||||
if pr.HasMerged {
|
||||
githubactions.Warningf("Analyzing PR: '%s'", pr.Title)
|
||||
if lastRelease == nil || (lastRelease != nil && pr.Merged.After(lastRelease.CreatedAt)) {
|
||||
githubactions.Warningf("PR is in the valid timeframe since last release: '%s'", pr.Title)
|
||||
addedToChangelog := false
|
||||
for _, prLabel := range pr.Labels {
|
||||
githubactions.Warningf("Analyzing Label of PR (%d): '%s'", pr.ID, prLabel.Name)
|
||||
categoryTitle, ok := validLabels[prLabel.Name]
|
||||
if ok {
|
||||
changelogByLabels[categoryTitle] = append(changelogByLabels[categoryTitle], pr)
|
||||
|
|
Loading…
Reference in New Issue