Skip to content

Commit fcb3d58

Browse files
committed
CI: Fix last line of release notes cut off by parsechangelog.py
1 parent 335bdd1 commit fcb3d58

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/parsechangelog.py

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import os
24
import re
35
import datetime
@@ -9,7 +11,7 @@ def parseChangelog():
911
lines = Path("CHANGELOG.md").read_text().splitlines()
1012

1113
bound1 = next(i for i, v in enumerate(lines) if v.startswith("## "))
12-
bound2 = next(i for i, v in enumerate(lines[bound1+1:]) if v.startswith("## "))
14+
bound2 = next(i for i, v in enumerate(lines) if v.startswith("## ") and i > bound1)
1315

1416
versionLine = lines[bound1]
1517
notes = "\n".join(lines[bound1+1:bound2]).strip()

0 commit comments

Comments
 (0)