nodenv / node-build

Install NodeJS versions
MIT License
266 stars 80 forks source link

rename prerelease builds for consistency #885

Closed jasonkarns closed 3 months ago

jasonkarns commented 3 months ago

The filename structure is:

{distribution}-{version}

distributions can have a suffix (separated with +) that denote major engine changes or platform components. the version should generally be semver compliant (- denotes pre release, + denotes build meta)

Hence parsing is "distro name up to first -", semver after; Subdivide distro name by + for "augmentations". Words joined by underscores.

Omitting the leading distro name implies "node" and must then begin with a digit.

This has left the rc, nightly, and v8-canary builds not quite following the pattern. With the upcoming improvements to version listings, we need more stable naming.

This simply adds the missing node- prefix for nightly and rc builds. v8-canary is more complicated. It is technically still a nightly build (thus -nightly) but with different v8 engine; so that's an augmentation within the "distro name" and "v8 canary" is just word split thus +v8_canary.

Despite the names of the build defs, the installed versions are named like: