houseabsolute / ubi

The Universal Binary Installer
Apache License 2.0
190 stars 6 forks source link

jq and mkcert fail to download #34

Closed rafi closed 1 year ago

rafi commented 1 year ago

On macOS M1 (arm64):

$ ubi -p FiloSottile/mkcert
[ubi][ERROR] could not find a release for this OS and architecture (aarch64-apple-darwin) from mkcert-v1.4.4-darwin-amd64, mkcert-v1.4.4-darwin-arm64, mkcert-v1.4.4-linux-amd64, mkcert-v1.4.4-linux-arm, mkcert-v1.4.4-linux-arm64, mkcert-v1.4.4-windows-amd64.exe, mkcert-v1.4.4-windows-arm64.exe

$ ubi -p stedolan/jq
[ubi][ERROR] could not find a release for this OS and architecture (aarch64-apple-darwin) from jq-1.6.tar.gz, jq-1.6.zip, jq-linux32, jq-linux64, jq-osx-amd64, jq-win32.exe, jq-win64.exe

On Linux x86_64:

$ ubi -p FiloSottile/mkcert
[ubi][ERROR] could not find a release for this OS and architecture (x86_64-unknown-linux-musl) from mkcert-v1.4.4-darwin-amd64, mkcert-v1.4.4-darwin-arm64, mkcert-v1.4.4-linux-amd64, mkcert-v1.4.4-linux-arm, mkcert-v1.4.4-linux-arm64, mkcert-v1.4.4-windows-amd64.exe, mkcert-v1.4.4-windows-arm64.exe

$ ubi -p stedolan/jq
[ubi][ERROR] could not find a release for this OS and architecture (x86_64-unknown-linux-musl) from jq-1.6.tar.gz, jq-1.6.zip, jq-linux32, jq-linux64, jq-osx-amd64, jq-win32.exe, jq-win64.exe
autarch commented 1 year ago

Thanks for the bug report. I think I have some fixes ready.

autarch commented 1 year ago

Fixed in v0.0.23.