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):