diff --git a/.github/scripts/release_notes_by_component.py b/.github/scripts/release_notes_by_component.py index d9bb6093f9..e86964f5a3 100644 --- a/.github/scripts/release_notes_by_component.py +++ b/.github/scripts/release_notes_by_component.py @@ -274,7 +274,7 @@ def main(): print("warning: files of #%d: %s" % (num, e.stderr.strip()), file=sys.stderr) failed.append(num) return [] - return out.split() + return out.splitlines() try: notes = regroup(body, pr_files)