chore: fix header capture from changelog in generate-release-notes.yml (#1759)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Updated release notes extraction workflow to improve handling of
version headers in generated release notes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Pujit Mehrotra
2025-10-22 16:19:38 -04:00
committed by GitHub
parent a0d6cc92c8
commit ff2906e52a

View File

@@ -68,10 +68,8 @@ jobs:
if ($0 ~ "\\[" ver "\\]") {
found=1;
capture=1;
next;
}
}
capture && /^## \[/ { exit }
capture {
if (output != "") output = output "\n";
output = output $0;