Skip to content

Commit

Permalink
fix: addresses a bug introduced in the last release where trimming al…
Browse files Browse the repository at this point in the history
…l commit messages to a single line got broken
  • Loading branch information
albertocsm committed Jul 9, 2024
1 parent a999c3a commit 2c04d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/task/changelog/changelog.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func (t Task) Run(ctx *context.Context) error {
rels[i].Changes[j].Message = msg
}
if idx := strings.Index(msg, "\n"); idx > -1 {
rels[i].Changes[j].Message = strings.TrimSpace(msg)
rels[i].Changes[j].Message = strings.TrimSpace(msg[:idx])
}
}
}
Expand Down

0 comments on commit 2c04d62

Please sign in to comment.