map alpha versions to the next channel/tag
This commit is contained in:
@@ -22,6 +22,8 @@ let version = require(path.resolve(pkgPath, 'package.json')).version
|
||||
|
||||
let match = /\d+\.\d+\.\d+-(.*)\.\d+/g.exec(version)
|
||||
if (match) {
|
||||
// We want to release alpha to the next channel because it will be the next version
|
||||
if (match === 'alpha') match = 'next'
|
||||
console.log(match[1])
|
||||
} else {
|
||||
console.log('latest')
|
||||
|
||||
Reference in New Issue
Block a user