this annoys me
This commit is contained in:
parent
69cc7ee6b2
commit
4844fcc29f
2 changed files with 7 additions and 7 deletions
|
@ -15,7 +15,7 @@ const patch = version[2].split('-');
|
|||
if (process.env['CIRCLE_BRANCH'] === 'release') {
|
||||
pkg.version = `${version[0]}.${version[1]}.${patch[0]}`
|
||||
} else if (process.env['CIRCLE_BRANCH'] === 'main') {
|
||||
pkg.version = `${version[0]}.${version[1]}.${patch[0]}-beta.${patch[1]}`
|
||||
pkg.version = `${version[0]}.${version[1]}.${patch[0]}.beta.${patch[1]}`
|
||||
} else {
|
||||
pkg.version = `${version[0]}.${version[1]}.${patch[0]}-${channel}.${process.env['CIRCLE_BUILD_NUM']}`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue