From 1925b9ca436ae07ce9153268f95d227fc27f5a7e Mon Sep 17 00:00:00 2001 From: ysh329 Date: Tue, 3 Oct 2023 17:25:00 +0800 Subject: [PATCH] Update make_notes.py --- tests/scripts/release/make_notes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scripts/release/make_notes.py b/tests/scripts/release/make_notes.py index 2aa96d6555c1..4155e0c731c5 100644 --- a/tests/scripts/release/make_notes.py +++ b/tests/scripts/release/make_notes.py @@ -179,7 +179,7 @@ def categorize_csv_file(csv_path: str): repo = "tvm" if args.convert_with_link: - with open("release_note_0.13.0.md", "r") as f: + with open(args.notes, "r") as f: lines = f.readlines() formated = [] for line in lines: @@ -202,7 +202,7 @@ def categorize_csv_file(csv_path: str): pr_dict = create_pr_dict(cache) # 2. Categorize csv file as dict by category and subject (sub-category) - headings = categorize_csv_file(args.notes_csv) + headings = categorize_csv_file(args.notes) # 3. Summarize and sort all categories def sorter(x):