Skip to content

Commit 847976a

Browse files
committed
fix typo
1 parent d94038f commit 847976a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release-channel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let version = require(path.resolve(pkgPath, 'package.json')).version
2323
let match = /\d+\.\d+\.\d+-(.*)\.\d+/g.exec(version)
2424
if (match) {
2525
// We want to release alpha to the next channel because it will be the next version
26-
if (match === 'alpha') match = 'next'
26+
if (match[1] === 'alpha') match[1] = 'next'
2727
console.log(match[1])
2828
} else {
2929
console.log('latest')

0 commit comments

Comments
 (0)