This commit is contained in:
Robin Malfait
2023-12-21 02:55:46 +01:00
parent d94038f198
commit 847976a310
+1 -1
View File
@@ -23,7 +23,7 @@ let version = require(path.resolve(pkgPath, 'package.json')).version
let match = /\d+\.\d+\.\d+-(.*)\.\d+/g.exec(version) let match = /\d+\.\d+\.\d+-(.*)\.\d+/g.exec(version)
if (match) { if (match) {
// We want to release alpha to the next channel because it will be the next version // We want to release alpha to the next channel because it will be the next version
if (match === 'alpha') match = 'next' if (match[1] === 'alpha') match[1] = 'next'
console.log(match[1]) console.log(match[1])
} else { } else {
console.log('latest') console.log('latest')