nodejs-latest-linker

An application to create latest-X symlinks at https://nodejs.org/download/release/ after each new release

MIT License

Downloads
37
Stars
6
Committers
6

nodejs-latest-linker

An application to create latest-X symlinks at https://nodejs.org/download/release/ after each new release

Also works for iojs.org.

Symlinks created by nodejs-latest-linker when run are:

  • latest-v0.10.x and latest-v0.12.x: special cases for old branches, pointing to the latest release on each line
  • latest-v_X_.x (e.g. latest-v6.x: where X is a semver-major version starting at 4 for Node.js (1 for io.js), pointing to the latest release on each line
  • latest-ltsname (e.g. latest-boron: where ltsname is the LTS codename, e.g. "argon" or "boron", pointing to the latest release on each LTS line
  • latest: pointing to the release with the highest semver, any line
  • node-latest.tar.gz: pointing to the source tarball of the release with the highest semver, any line, exists for legacy reasons

The same directory symlinks are also created for API docs, here: https://nodejs.org/download/docs/

Usage

$ nodejs-latest-linker.js <downloads directory> [docs directory]

Managed under the governance of the Node.js Build Working Group.

Copyright (c) 2016 Node.js Foundation. All rights reserved.

Licensed under MIT, see the LICENSE.md file for details