added 'v' to untagged version.json
This commit is contained in:
parent
ddfbb06e1a
commit
bca79489c0
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue