Skip to content

Commit 5b29b03

Browse files
committed
Fix gen-release-notes script
We now only include the version in the release title, with the date below it. Because of this, need to adjust the script to understand the underlines that define the title are now shorter.
1 parent 7d22ef4 commit 5b29b03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gen-release-notes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
capture = False
1919
for line in rst_text.splitlines():
2020
# Only start capturing after the latest release section.
21-
if line.startswith("-------"):
21+
if line.startswith("----"):
2222
capture = not capture
2323
if not capture:
2424
# We only need to capture the latest release, so stop.

0 commit comments

Comments
 (0)