Skip to content

Commit 5976b9a

Browse files
committed
map alpha versions to the next channel/tag
1 parent 13f4cd5 commit 5976b9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/release-channel.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ let version = require(path.resolve(pkgPath, 'package.json')).version
2222

2323
let match = /\d+\.\d+\.\d+-(.*)\.\d+/g.exec(version)
2424
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'
2527
console.log(match[1])
2628
} else {
2729
console.log('latest')

0 commit comments

Comments
 (0)