Test Build with version build number
This commit is contained in:
parent
6e438c7eb7
commit
52844317a9
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ channel = channel.split('/').join('-')
|
||||||
|
|
||||||
// https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables
|
// https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables
|
||||||
const version = pkg.version.split('.');
|
const version = pkg.version.split('.');
|
||||||
pkg.version = `${version[0]}.${version[1]}.${version[2]}-${channel}`
|
pkg.version = `${version[0]}.${version[1]}.${version[2]}-${channel}.${process.env['CIRCLE_BUILD_NUM']}`
|
||||||
// package.build.channel = channel
|
// package.build.channel = channel
|
||||||
pkg.publish = {
|
pkg.publish = {
|
||||||
"provider": "github",
|
"provider": "github",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue