marwanhawari / stew

🥘 An independent package manager for compiled binaries.
MIT License
185 stars 14 forks source link

improve github asset detection #32

Closed marwanhawari closed 7 months ago

marwanhawari commented 7 months ago

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.