wasmtime: curl install broken
Hi all,
FYI curl-based installation is broken with 404
± curl https://wasmtime.dev/install.sh -sSf | bash
Installing latest version of Wasmtime (https://api.github.com/repos/bytecodealliance/wasmtime/releases/126307703)
Checking for existing Wasmtime installation
Fetching archive for Linux, version https://api.github.com/repos/bytecodealliance/wasmtime/releases/126307703
https://github.com/bytecodealliance/wasmtime/releases/download/https://api.github.com/repos/bytecodealliance/wasmtime/releases/126307703/wasmtime-https://api.github.com/repos/bytecodealliance/wasmtime/releases/126307703-x86_64-linux.tar.xz
curl: (22) The requested URL returned error: 404
Error: Could not download Wasmtime version 'https://api.github.com/repos/bytecodealliance/wasmtime/releases/126307703'. See https://github.com/bytecodealliance/wasmtime/releases for a list of available releases
Thanks!
About this issue
- Original URL
- State: closed
- Created 8 months ago
- Comments: 17 (11 by maintainers)
Commits related to this issue
- install.sh: support compactified JSON from GitHub API. In bytecodealliance/wasmtime#7377, we saw a case where a user gets compactified (single-line) JSON responses from the GitHub API. The `install.s... — committed to cfallin/wasmtime.dev by cfallin 8 months ago
- install.sh: support compactified JSON from GitHub API. In bytecodealliance/wasmtime#7377, we saw a case where a user gets compactified (single-line) JSON responses from the GitHub API. The `install.s... — committed to cfallin/wasmtime.dev by cfallin 8 months ago
- install.sh: support compactified JSON from GitHub API. (#18) In bytecodealliance/wasmtime#7377, we saw a case where a user gets compactified (single-line) JSON responses from the GitHub API. The `i... — committed to bytecodealliance/wasmtime.dev by cfallin 8 months ago
Using
| sed 's/.*tag_name": *"//' | sed 's/".*//'instead of| grep tag_name | cut -d '"' -f 4should work for both pretty and unpretty json.