From f76b81ff26e8f1a74678baab2af844780e7da31f Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Wed, 25 Mar 2015 13:45:46 -0400 Subject: [PATCH] remove the 'v' prefix from iojs version names following the pattern of node version names (which are just the bare version number), strip the leading v from iojs version names. so iojs-v1.0.0 -> iojs-1.0.0 (both in filename, and install listing) --- tools/iojs_scraper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/iojs_scraper.js b/tools/iojs_scraper.js index 5fdfdfe61..406819e5f 100644 --- a/tools/iojs_scraper.js +++ b/tools/iojs_scraper.js @@ -3,7 +3,7 @@ var http = require('https'), baseUrl = "https://github.com/iojs/io.js.git"; function generateNodeFile (item) { - var version = "iojs-" + item.version, + var version = "iojs-" + item.version.replace(/^v/,''), installLine = 'install_git "' + version + '" "' + baseUrl + '" "' + item.version + '" standard', filePath = '../share/node-build/' + version;