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

improve github asset detection #32

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

marwanhawari
Copy link
Owner

Often, repos include a corresponding sha256 file for each release asset (such as in https://github.com/dominikh/go-tools/releases). For the purposes of asset detection it can cause the user to have to unnecessarily select the asset manually because the regex doesn't make a distinction between
staticcheck_darwin_arm64.tar.gz.sha256
and
staticcheck_darwin_arm64.tar.gz

This PR just filters out files that end in .sha256 so that stew is more likely to automatically detect the appropriate release asset for the user.

@marwanhawari marwanhawari merged commit b86e6a3 into main Apr 1, 2024
1 check failed
@marwanhawari marwanhawari deleted the filter_sha256_from_asset_detection branch April 1, 2024 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant