From d28358568c694dc822e63d1e0e121ed0473e2c05 Mon Sep 17 00:00:00 2001 From: Brandon Tilley Date: Tue, 31 Dec 2013 10:52:52 -0800 Subject: [PATCH] Remove version name --- script/set-version | 2 -- site/public/download/_data.json | 3 +-- site/public/download/index.ejs | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) 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) { %> -

Latest Stable Build: <%= data.stable.latest.version %> (<%= data.stable.latest.name %>)

+

Latest Stable Build: <%= data.stable.latest.version %>

Release notes | GitHub tag