-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support OS specific extensions (#76)
This scores assets higher which contain an OS specific extension in the name or URL. At the same time, refactored the test Linux/Windows resolvers to avoid duplication when no special cases are needed. To support extensions such as `.AppImage`, now keeps the asset's original casing while still scoring based on lowercase comparisons. Test cases have been updated accordingly. Signed-off-by: Sune Keller <sune.keller+gitlab.com@gmail.com> Co-authored-by: Sune Keller <sune.keller+gitlab.com@gmail.com>
- Loading branch information
Showing
3 changed files
with
99 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters