unbork unbork unbork unbork bonk
This commit is contained in:
parent
104006c0ec
commit
13ce294181
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ var package = JSON.parse(data);
|
|||
pvers = package.version.match(/\d+\./g)
|
||||
|
||||
// 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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue