is this gonna work
This commit is contained in:
parent
4c2d64ef0d
commit
561ee3fe82
1 changed files with 1 additions and 4 deletions
|
@ -20,10 +20,7 @@ if (process.env['CIRCLE_BRANCH'] === 'lts') {
|
|||
channel = process.env['CIRCLE_BRANCH'] // It won't have auto update support
|
||||
}
|
||||
|
||||
|
||||
if (channel.includes('/')) {
|
||||
channel.replace('/', '-')
|
||||
}
|
||||
channel.split('/').join('-')
|
||||
|
||||
// https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables
|
||||
const version = pkg.version.split('.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue