From 1079d926cf28ac1b9423e8022e9168d0a59aea78 Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Thu, 23 May 2024 11:48:25 -0400 Subject: [PATCH] rename prerelease builds for consistency 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. --- share/node-build/{v8-canary => node+v8_canary-nightly} | 0 share/node-build/{nightly => node-nightly} | 0 share/node-build/{rc => node-rc} | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename share/node-build/{v8-canary => node+v8_canary-nightly} (100%) rename share/node-build/{nightly => node-nightly} (100%) rename share/node-build/{rc => node-rc} (100%) diff --git a/share/node-build/v8-canary b/share/node-build/node+v8_canary-nightly similarity index 100% rename from share/node-build/v8-canary rename to share/node-build/node+v8_canary-nightly diff --git a/share/node-build/nightly b/share/node-build/node-nightly similarity index 100% rename from share/node-build/nightly rename to share/node-build/node-nightly diff --git a/share/node-build/rc b/share/node-build/node-rc similarity index 100% rename from share/node-build/rc rename to share/node-build/node-rc