use CIRCLE_TAG as version.json version if present
This commit is contained in:
parent
8e6d8eaddd
commit
12033edda5
|
@ -14,7 +14,7 @@ const filename = path.join(__dirname, '..', 'public', 'version.json');
|
||||||
const filedata = {
|
const filedata = {
|
||||||
commit,
|
commit,
|
||||||
source: pkg.homepage,
|
source: pkg.homepage,
|
||||||
version: pkg.version
|
version: process.env.CIRCLE_TAG || pkg.version
|
||||||
};
|
};
|
||||||
|
|
||||||
fs.writeFileSync(filename, JSON.stringify(filedata, null, 2) + '\n');
|
fs.writeFileSync(filename, JSON.stringify(filedata, null, 2) + '\n');
|
||||||
|
|
Loading…
Reference in New Issue