-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[runx] Allow unknown file types (#403)
## Summary This tweaks the logic in #401 to allow unknown file types if there are no known file types in the list of released artifacts. This is needed because some releases don't have file types at all (e.g. https://github.com/mvdan/gofumpt/releases). We try to return a known archive, otherwise we just return the last artifact that matches the platform (if any) Note: this is a revert to how the logic behaved before #401 but keeps the artifact name improvements from that PR. cc: @edorizzardi ## How was it tested? * `runx --install mvdan/gofumpt` * unit tests
- Loading branch information
1 parent
d52ab50
commit 54b7954
Showing
4 changed files
with
12 additions
and
10 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
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