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 {
|
for _, pr := range prs {
|
||||||
if pr.HasMerged {
|
if pr.HasMerged {
|
||||||
|
githubactions.Warningf("Analyzing PR: '%s'", pr.Title)
|
||||||
if lastRelease == nil || (lastRelease != nil && pr.Merged.After(lastRelease.CreatedAt)) {
|
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
|
addedToChangelog := false
|
||||||
for _, prLabel := range pr.Labels {
|
for _, prLabel := range pr.Labels {
|
||||||
|
githubactions.Warningf("Analyzing Label of PR (%d): '%s'", pr.ID, prLabel.Name)
|
||||||
categoryTitle, ok := validLabels[prLabel.Name]
|
categoryTitle, ok := validLabels[prLabel.Name]
|
||||||
if ok {
|
if ok {
|
||||||
changelogByLabels[categoryTitle] = append(changelogByLabels[categoryTitle], pr)
|
changelogByLabels[categoryTitle] = append(changelogByLabels[categoryTitle], pr)
|
||||||
|
|
Loading…
Reference in New Issue