]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
script/ceph-release-notes: sort PRs case-insensitively
authorJosh Durgin <jdurgin@redhat.com>
Tue, 3 Aug 2021 21:22:06 +0000 (17:22 -0400)
committerJosh Durgin <jdurgin@redhat.com>
Tue, 3 Aug 2021 21:22:06 +0000 (17:22 -0400)
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/script/ceph-release-notes

index b4959d79ad3e43287a4b7d7f2fb16ef61b326471..a9c2270ba0d994d7b5c9c1d4f0c1bc56db3e07bb 100755 (executable)
@@ -242,7 +242,7 @@ def make_release_notes(gh, repo, ref, plaintext, html, markdown, verbose, strict
                        issue + " " + str(prs))
 
     for (pr, (author, title, message)) in sorted(
-        pr2info.items(), key=lambda title: title[1][1]
+        pr2info.items(), key=lambda title: title[1][1].lower()
     ):
         if pr in pr2issues:
             if plaintext: