added 'v' to untagged version.json

This commit is contained in:
Danny Coates 2017-08-01 13:19:43 -07:00
parent ddfbb06e1a
commit bca79489c0
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB

View File

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