crytic / solc-select

Manage and switch between Solidity compiler versions
GNU Affero General Public License v3.0
758 stars 103 forks source link

Fails to download solc 0.8.x #37

Closed ggrieco-tob closed 3 years ago

ggrieco-tob commented 3 years ago
$ ./solc-select/scripts/install.sh 
Detected Linux
Creating install dir /home/g/.solc-select
Installing solc versions into /home/g/.solc-select/usr/bin
[+] successfully downloaded solc 0.8.0
semver.sh: line 9: "tag_name":: syntax error: operand expected (error token is ""tag_name":")
semver.sh: line 9: "tag_name":: syntax error: operand expected (error token is ""tag_name":")
semver.sh: line 9: "tag_name":: syntax error: operand expected (error token is ""tag_name":")
[+] failed to download solc "tag_name":
semver.sh: line 9: "preview-0: syntax error: operand expected (error token is ""preview-0")
semver.sh: line 9: "preview-0: syntax error: operand expected (error token is ""preview-0")
semver.sh: line 9: "preview-0: syntax error: operand expected (error token is ""preview-0")

Other versions work fine.

arcz commented 3 years ago

Should work on the newest version:

$ solc-select install 0.8.0
Installing '0.8.0'...
Version '0.8.0' installed.
$ solc-select use 0.8.0
Switched global version to 0.8.0
$ solc --version
solc, the solidity compiler commandline interface
Version: 0.8.0+commit.c7dfd78e.Darwin.appleclang