This is an automated email from the ASF dual-hosted git repository.
junrushao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new a38053e92e [Script] Fix miscs of make_notes.py (#15859)
a38053e92e is described below
commit a38053e92e325ced102ecb4a6c40939f901a970d
Author: ysh329 <[email protected]>
AuthorDate: Wed Oct 4 05:22:53 2023 +0800
[Script] Fix miscs of make_notes.py (#15859)
Fix miscs of 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 2aa96d6555..4155e0c731 100644
--- a/tests/scripts/release/make_notes.py
+++ b/tests/scripts/release/make_notes.py
@@ -179,7 +179,7 @@ if __name__ == "__main__":
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 @@ if __name__ == "__main__":
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):