Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[runx] Allow unknown file types #403

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Conversation

mikeland73
Copy link
Contributor

@mikeland73 mikeland73 commented Oct 25, 2024

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

@mikeland73 mikeland73 merged commit 54b7954 into main Oct 25, 2024
1 check passed
@mikeland73 mikeland73 deleted the landau/allow-unknown-file-types branch October 25, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants