Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build/release/pre_gen_release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ def is_revert(commit_title):
# e.g. * Fu Chen
contributors_file = open(os.path.join(release_dir, contributors_file_name), "w")
sorted_authors = list(authors)
sorted_authors.sort(key=lambda author: author.split(" ")[-1])
for author in authors:
sorted_authors.sort(key=lambda author: author.split(" ")[0].lower())
for author in sorted_authors:
contributors_file.write("* %s\n" % author)
contributors_file.close()
print("Contributors list is successfully written to %s!" % contributors_file_name)
Expand Down
Loading