fix: match linked changelog headings when extracting release notes
All checks were successful
Push Validation / validate (push) Successful in 1m38s

This commit is contained in:
Micheal Wilkinson
2026-03-20 22:54:27 +00:00
parent 501ac71147
commit 0234df7aa1

View File

@@ -74,9 +74,9 @@ runs:
set -euo pipefail set -euo pipefail
release_notes="$(awk -v version="$RELEASE_VERSION" ' release_notes="$(awk -v version="$RELEASE_VERSION" '
$0 ~ "^## \\[" version "\\] - " {capture=1} $0 ~ "^## \\[" version "\\]" {capture=1}
capture { capture {
if ($0 ~ "^## \\[" && $0 !~ "^## \\[" version "\\] - ") exit if ($0 ~ "^## \\[" && $0 !~ "^## \\[" version "\\]") exit
print print
} }
' "$CHANGELOG")" ' "$CHANGELOG")"