Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
jasonkarns committed Mar 25, 2015
1 parent f18b3d6 commit f76b81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/iojs_scraper.js
Expand Up @@ -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;

Expand Down

0 comments on commit f76b81f

Please sign in to comment.