We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d94038f commit 847976aCopy full SHA for 847976a
scripts/release-channel.js
@@ -23,7 +23,7 @@ let version = require(path.resolve(pkgPath, 'package.json')).version
23
let match = /\d+\.\d+\.\d+-(.*)\.\d+/g.exec(version)
24
if (match) {
25
// We want to release alpha to the next channel because it will be the next version
26
- if (match === 'alpha') match = 'next'
+ if (match[1] === 'alpha') match[1] = 'next'
27
console.log(match[1])
28
} else {
29
console.log('latest')
0 commit comments