unbork unbork unbork bonk
This commit is contained in:
parent
0ba24a2361
commit
104006c0ec
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ var package = JSON.parse(data);
|
||||||
pvers = package.version.match(/\d+\./g)
|
pvers = package.version.match(/\d+\./g)
|
||||||
|
|
||||||
// https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables
|
// https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables
|
||||||
package.version = `${pvers[0]}.${pvers[1]}.${process.env['CIRCLE_BUILD_NUM']}`
|
package.version = ${pvers[0]}${pvers[1]}${process.env['CIRCLE_BUILD_NUM']}
|
||||||
|
|
||||||
|
|
||||||
fs.writeFile('package.json', JSON.stringify(package), err => {
|
fs.writeFile('package.json', JSON.stringify(package), err => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue