From 02edf720d36a0648d13ff821d2e225143434f355 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Sun, 15 Sep 2024 01:06:22 +0200 Subject: fix: Sort contributors case insensitive (#1015) when generating Northstar release notes --- src-tauri/src/github/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/github/mod.rs b/src-tauri/src/github/mod.rs index 343d041a..9bc3f834 100644 --- a/src-tauri/src/github/mod.rs +++ b/src-tauri/src/github/mod.rs @@ -279,7 +279,7 @@ pub fn compare_tags_northstar(first_tag: Tag, second_tag: Tag) -> Result = authors_set.into_iter().collect(); - sorted_vec.sort(); + sorted_vec.sort_by_key(|a| a.to_lowercase()); // Define a string to prepend to each element. let prefix = "@"; -- cgit v1.2.3