We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e8b5b5 commit d0200beCopy full SHA for d0200be
scripts/extract_release_notes.py
@@ -9,7 +9,7 @@ def main() -> None:
9
10
changelog = Path("CHANGELOG.md").read_text()
11
12
- regex = re.compile(rf"^\#\#\s*({version})(?P<text>.*?)^\#\#\s+", re.MULTILINE | re.DOTALL)
+ regex = re.compile(rf"^\#\#\s*v({version})[^\n]*?\n(?P<text>.*?)^\#\#\s+", re.MULTILINE | re.DOTALL)
13
14
for match in regex.finditer(changelog):
15
print(match.group("text").strip())
0 commit comments