Skip to content

Commit 0d7ed72

Browse files
committed
bugfixes after rebase
1 parent c43c2b6 commit 0d7ed72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/releases/release_notes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def get_pr_list(date: str, extra: str) -> List[Dict[str, Any]]:
151151
"--json",
152152
"number,title,closedAt,labels,mergedAt,body",
153153
"--limit",
154-
"1",
154+
"200",
155155
],
156156
check=True,
157157
capture_output=True,
@@ -296,10 +296,10 @@ def changes_overview(
296296
"general section of the topic section in the changelog.\n\n")
297297
for pr in prs_with_use_title:
298298
for topic in topics:
299-
matches = [pr for pr in prs_with_use_title if has_label(pr, topic[0])]
299+
matches = [pr for pr in prs_with_use_title if has_label(pr, topic)]
300300
if len(matches) == 0:
301301
continue
302-
relnotes_file.write(f'#### {topic[1]}\n\n')
302+
relnotes_file.write(f'#### {topics[topic]}\n\n')
303303
for match in matches:
304304
relnotes_file.write(pr_to_md(match))
305305
prs_with_use_title.remove(match)

0 commit comments

Comments
 (0)