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

Add support for installing latest LTS release #281

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

e-nomem
Copy link
Contributor

@e-nomem e-nomem commented Feb 11, 2021

This PR adds the ability to specify -n lts or --node=lts to automatically install the latest LTS version on Node. It does this by checking if the lts field of the version info, which is either false or the string name of the LTS release, is truthy.

Closes #274

Copy link
Contributor

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise looks good

Copy link
Contributor

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ekalinin ekalinin merged commit e6a4d51 into ekalinin:master Apr 9, 2021
@ekalinin
Copy link
Owner

ekalinin commented Apr 9, 2021

Thanks!

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

Successfully merging this pull request may close these issues.

Add ability to install latest LTS version
3 participants