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 335bdd1 commit fcb3d58Copy full SHA for fcb3d58
1 file changed
.github/workflows/parsechangelog.py
100644
100755
@@ -1,3 +1,5 @@
1
+#!/usr/bin/env python3
2
+
3
import os
4
import re
5
import datetime
@@ -9,7 +11,7 @@ def parseChangelog():
9
11
lines = Path("CHANGELOG.md").read_text().splitlines()
10
12
13
bound1 = next(i for i, v in enumerate(lines) if v.startswith("## "))
- 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)
15
16
versionLine = lines[bound1]
17
notes = "\n".join(lines[bound1+1:bound2]).strip()
0 commit comments