Skip to content

Commit f23285c

Browse files
committed
ensure we match 0.0.0-insiders.<hash>
1 parent 57f6787 commit f23285c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/release-channel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
let version =
1111
process.argv[2] || process.env.npm_package_version || require('../package.json').version
1212

13-
let match = /\d+\.\d+\.\d+-(.*)\.\d+/g.exec(version)
13+
let match = /\d+\.\d+\.\d+-(.*)(\.\d+)?/g.exec(version)
1414
if (match) {
1515
console.log(match[1])
1616
} else {

0 commit comments

Comments
 (0)