From c718ea41856e7e02ceb2d7ff16f69d780763eb9d Mon Sep 17 00:00:00 2001 From: Martin Heidegger Date: Tue, 10 Nov 2015 17:33:25 +0900 Subject: [PATCH] Added latest.json to root that contains only the latest stable and its version --- build.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.js b/build.js index 4829602406cd6..cd3edde4bf24d 100755 --- a/build.js +++ b/build.js @@ -196,6 +196,10 @@ function fullbuild () { } } + fs.writeFileSync(path.join(__dirname, 'build', 'latest.json'), + JSON.stringify(source.project.currentVersions, null, '\t') + ) + fs.readdir(path.join(__dirname, 'locale'), function (e, locales) { locales.filter(junk.not).forEach(function (locale) { buildlocale(source, locale)