Merge pull request #299 from mozilla/circleVersion

use CIRCLE_TAG as version.json version if present
This commit is contained in:
Danny Coates 2017-07-24 18:35:34 -07:00 committed by GitHub
commit 4b8445191b

View File

@ -14,7 +14,7 @@ const filename = path.join(__dirname, '..', 'public', 'version.json');
const filedata = {
commit,
source: pkg.homepage,
version: pkg.version
version: process.env.CIRCLE_TAG || pkg.version
};
fs.writeFileSync(filename, JSON.stringify(filedata, null, 2) + '\n');