Skip to content

Dynamically get the latest LTS release version number #8

Merged
dhh merged 4 commits into
basecamp:masterfrom
plutack:fix/nodenv
Jun 6, 2024
Merged

Dynamically get the latest LTS release version number #8
dhh merged 4 commits into
basecamp:masterfrom
plutack:fix/nodenv

Conversation

@plutack
Copy link
Copy Markdown
Contributor

@plutack plutack commented Jun 6, 2024

I noticed as the script right now , the node version is manually inputted.
Since node supplies a index.json file here which happens to be neatly arranged by version number, we can probably get the latest LTS release version by checking the first entry which has its LTS key set to something other than false with jq.

@dhh dhh merged commit 11a66c5 into basecamp:master Jun 6, 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

Successfully merging this pull request may close these issues.

2 participants