bin
bin copied to clipboard
Bug: bin is unable to install github.com/dominikh/go-tools
Debug output:
$ bin install --debug github.com/dominikh/go-tools
• debug logs enabled
• Config directory is: /home/lubr/.bin
• Download path set to /home/lubr/bin
• Getting latest release for dominikh/go-tools
• Removing staticcheck_windows_amd64.tar.gz.sha256 (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_windows_amd64.tar.gz.sha256) with score 10 lower than 20
• Removing staticcheck_windows_amd64.tar.gz (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_windows_amd64.tar.gz) with score 10 lower than 20
• Removing staticcheck_linux_armv7l.tar.gz.sha256 (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_armv7l.tar.gz.sha256) with score 10 lower than 20
• Removing staticcheck_linux_armv7l.tar.gz (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_armv7l.tar.gz) with score 10 lower than 20
• Removing staticcheck_linux_armv6l.tar.gz.sha256 (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_armv6l.tar.gz.sha256) with score 10 lower than 20
• Removing staticcheck_linux_armv6l.tar.gz (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_armv6l.tar.gz) with score 10 lower than 20
• Removing staticcheck_linux_armv5l.tar.gz.sha256 (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_armv5l.tar.gz.sha256) with score 10 lower than 20
• Removing staticcheck_linux_armv5l.tar.gz (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_armv5l.tar.gz) with score 10 lower than 20
• Removing staticcheck_linux_arm64.tar.gz.sha256 (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_arm64.tar.gz.sha256) with score 15 lower than 20
• Removing staticcheck_linux_arm64.tar.gz (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_arm64.tar.gz) with score 15 lower than 20
• Keeping staticcheck_linux_amd64.tar.gz.sha256 (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_amd64.tar.gz.sha256) with highest score 20
• Keeping staticcheck_linux_amd64.tar.gz (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_amd64.tar.gz) with highest score 20
• Removing staticcheck_linux_386.tar.gz.sha256 (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_386.tar.gz.sha256) with score 10 lower than 20
• Removing staticcheck_linux_386.tar.gz (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_386.tar.gz) with score 10 lower than 20
• Removing staticcheck_freebsd_amd64.tar.gz.sha256 (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_freebsd_amd64.tar.gz.sha256) with score 10 lower than 20
• Removing staticcheck_freebsd_amd64.tar.gz (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_freebsd_amd64.tar.gz) with score 10 lower than 20
• Removing staticcheck_darwin_amd64.tar.gz.sha256 (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_darwin_amd64.tar.gz.sha256) with score 10 lower than 20
• Removing staticcheck_darwin_amd64.tar.gz (URL https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_darwin_amd64.tar.gz) with score 10 lower than 20
Multiple matches found, please select one:
[1] staticcheck_linux_amd64.tar.gz
[2] staticcheck_linux_amd64.tar.gz.sha256
Select an option: 1
• Checking binary from https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_amd64.tar.gz
• Starting download of https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_amd64.tar.gz
5.80 MiB / 5.80 MiB [---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00% 214.59 KiB p/s 28s
⨯ command failed error=Could not find any compatible files
Content of https://github.com/dominikh/go-tools/releases/download/2021.1/staticcheck_linux_amd64.tar.gz:
staticcheck/
staticcheck/staticcheck
staticcheck/LICENSE-THIRD-PARTY
staticcheck/LICENSE
The file the should be installed / presented is: staticcheck/staticcheck.
Version of bin (Linux amd64):
$ bin --version
bin version 0.8.0
commit: a638c4aae4dca8eb6a339bfd40af4f8dca7b5231
built at: 2021-06-23T09:19:57Z
built by: goreleaser
The same thing happens with https://github.com/dandavison/delta and https://github.com/sharkdp/bat on update with version 0.15.1 of bin