feat: the changelog in the status pane, built in
CI / Checks (pull_request) Successful in 24s
PR title / Conventional title (pull_request) Successful in 1s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kebandClaude Opus 5.5 committed 2026-10-11 11:23:20 +02:00
1 parent 56d3d25c9c
commit dc856677cc
8 files changed
+84 -4

No files matched your search

+4 -1
View File
@@ -50,9 +50,12 @@ type Release struct {
// every release ends with.
func (r Release) Notes() string {
notes, _, _ := strings.Cut(r.Body, "## Install")
return mdLink.ReplaceAllString(strings.TrimSpace(notes), "$1")
return PlainLinks(strings.TrimSpace(notes))
}
// PlainLinks shows Markdown links as their text, for a terminal.
func PlainLinks(s string) string { return mdLink.ReplaceAllString(s, "$1") }
// mdLink is a Markdown link, [text](url): the notes link PRs and commits,
// and a terminal shows them as their text.
var mdLink = regexp.MustCompile(`\[([^\]]+)\]\((https?://[^)\s]+)\)`)