Update src/action.go

main v2.1.3
Lee SangMin 2023-07-16 22:08:51 +09:00
parent cd938863bd
commit b5ec9f97db
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ func updateOrCreateDraftRelease(a *Action, cfg *config.RepoConfig) (*gitea.Relea
if changelog != nil { if changelog != nil {
for label, prs := range *changelog { for label, prs := range *changelog {
if len(prs) > 0 { if len(prs) > 0 {
if strings.Contains(label, "Satatus/") { if !strings.Contains(label, "Status/") {
// TODO: here we should take the label from the config and only default to the name // TODO: here we should take the label from the config and only default to the name
fmt.Fprintf(&b, "## %s\n\n", strings.Title(label)) fmt.Fprintf(&b, "## %s\n\n", strings.Title(label))