Skip to content

Add support for installing latest LTS release - #281

Merged
ekalinin merged 1 commit into
ekalinin:masterfrom
e-nomem:add-lts-support
Apr 9, 2021
Merged

ekalinin merged 1 commit into
ekalinin:masterfrom
e-nomem:add-lts-support

Conversation

@e-nomem

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

Copy link
Copy Markdown
Contributor

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

@asottile asottile left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

otherwise looks good

Comment thread tests/nodeenv_test.py Resolved
Comment thread nodeenv.py Resolved

@asottile asottile left a comment

Copy link
Copy Markdown
Contributor

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

ekalinin commented Apr 9, 2021

Copy link
Copy Markdown
Owner

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