Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept latest as an argument for install and use #138

Closed
ardislu opened this issue Dec 13, 2022 · 2 comments
Closed

Accept latest as an argument for install and use #138

ardislu opened this issue Dec 13, 2022 · 2 comments
Assignees

Comments

@ardislu
Copy link
Contributor

ardislu commented Dec 13, 2022

Currently, solc-select install only accepts a specific version number or the word all. solc-select use only accepts a specific version.

It would be convenient if these commands accepted latest as an alias for the latest version of Solidity. For example (assuming 0.8.17 is the latest version of Solidity):

$ solc-select install latest
Installing '0.8.17'...
Version '0.8.17' installed.

And:

$ solc-select use latest
Switched global version to 0.8.17
@CJ42
Copy link

CJ42 commented Jan 5, 2023

I am also looking for this feature, as I am implementing this in a CI job that needs to check that the contracts compile to multiple versions including the latest one.

@elopez
Copy link
Member

elopez commented Dec 31, 2024

I'll close this issue as this feature got released in v1.0.4

@elopez elopez closed this as completed Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants