diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2024-09-15 01:06:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-15 01:06:22 +0200 |
commit | 02edf720d36a0648d13ff821d2e225143434f355 (patch) | |
tree | 8e9f211f7a01009fa74127a1a976ae691d51cf42 /src-tauri/src | |
parent | 01d36155a326db9c2f93b12038a63ae2ebde1463 (diff) | |
download | FlightCore-02edf720d36a0648d13ff821d2e225143434f355.tar.gz FlightCore-02edf720d36a0648d13ff821d2e225143434f355.zip |
fix: Sort contributors case insensitive (#1015)
when generating Northstar release notes
Diffstat (limited to 'src-tauri/src')
-rw-r--r-- | src-tauri/src/github/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<String, // Convert the set to a sorted vector. let mut sorted_vec: Vec<String> = 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 = "@"; |