diff --git a/script/set-version b/script/set-version index c563a8d..54af263 100755 --- a/script/set-version +++ b/script/set-version @@ -5,7 +5,6 @@ var spawn = require('child_process').spawn; var type = process.argv[2]; var version = process.argv[3]; -var name = process.argv[4] if ("stable" !== type && "unstable" !== type) { console.log("You must specify 'stable' or 'unstable' version type."); @@ -30,7 +29,6 @@ bower.version = version; site[type].latest = site[type].latest || {}; site[type].latest.version = "v" + version; -if (name) site[type].latest.name = name; fs.writeFileSync('package.json', JSON.stringify(package, null, ' ') + "\n"); fs.writeFileSync('bower.json', JSON.stringify(bower, null, ' ') + "\n"); diff --git a/site/public/download/_data.json b/site/public/download/_data.json index 08e1d76..6a1e3c2 100644 --- a/site/public/download/_data.json +++ b/site/public/download/_data.json @@ -4,8 +4,7 @@ }, "unstable": { "latest": { - "version": "v1.0.0-rc.2", - "name": null + "version": "v1.0.0-rc.2" } } } diff --git a/site/public/download/index.ejs b/site/public/download/index.ejs index 2c81ccf..213de79 100644 --- a/site/public/download/index.ejs +++ b/site/public/download/index.ejs @@ -10,7 +10,7 @@
Up-to-the-minute releases, archived versions, and full release notes can be found on the GitHub releases page.
<% if (data.stable.latest) { %> -