Skip to content

Commit 7b0a211

Browse files
committed
Debug
1 parent ae8af85 commit 7b0a211

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extra/release.py

+3
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,17 @@ def changelog_as_markdown() -> str:
126126
m = RST_LATEST_CHANGES.search(contents)
127127
rst = m.group(1) if m else ""
128128

129+
print(rst)
129130
for pattern, repl in RST_REPLACEMENTS:
130131
rst = re.sub(pattern, repl, rst, flags=re.M)
131132

132133
md = rst2md(rst)
134+
print(md)
133135

134136
for pattern, repl in MD_REPLACEMENTS:
135137
md = re.sub(pattern, repl, md, flags=re.M)
136138

139+
print(md)
137140
# sort list items alphabetically for each of the sections
138141
return MD_CHANGELOG_SECTION_LIST.sub(
139142
lambda m: "\n".join(sorted(m.group().splitlines())), md

0 commit comments

Comments
 (0)