Add the changelog entry of the first release, 1.0.0
TirSystem/github-action: Publish wiki / publish-wiki (push) Skipped
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Skipped
Validate workflows / validate (pull_request) Successful in 16s
TirSystem/github-action: Publish wiki / publish-wiki (push) Skipped
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Skipped
Validate workflows / validate (pull_request) Successful in 16s
Task: MIL-004#5
This commit is contained in:
@@ -66,6 +66,9 @@ def parse(text: str) -> list[Release]:
|
||||
continue
|
||||
if group is not None and line.startswith("- "):
|
||||
releases[-1].groups[group].append(line[2:].strip())
|
||||
elif group is not None and line.startswith(" ") and releases[-1].groups[group]:
|
||||
# a wrapped item: the lines that continue it belong to the same item
|
||||
releases[-1].groups[group][-1] += " " + line.strip()
|
||||
return releases
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user