Skip to content

Commit ed6457e

Browse files
committed
Fix summary parsing again
1 parent b107c7f commit ed6457e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

make_release/notes/generate.nu

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ export def extract-notes []: string -> string {
9696
| if ($in | is-empty) { assert false } else {}
9797
| skip 1 # remove header
9898
# extract until next heading
99-
| take until { $in starts-with "#" or $in starts-with "---" }
99+
| take until {
100+
$in starts-with "# " or $in starts-with "## " or $in starts-with "---"
101+
}
100102
| str join (char nl)
101103
# remove HTML comments
102104
| str replace -amr '<!--\O*?-->' ''

0 commit comments

Comments
 (0)