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

Most upvoted comments

Using | sed 's/.*tag_name": *"//' | sed 's/".*//' instead of | grep tag_name | cut -d '"' -f 4 should work for both pretty and unpretty json.