Skip to content

Commit 0a7ddcb

Browse files
authored
Fix insiders tags sometimes published to latest channel (#453)
1 parent 8066e85 commit 0a7ddcb

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
@@ -16,7 +16,7 @@ const pkg = JSON.parse(await fs.readFile(path.resolve(__dirname, '../package.jso
1616

1717
let version = process.argv[2] || process.env.npm_package_version || pkg.version
1818

19-
let match = /\d+\.\d+\.\d+-(.*)\.\d+/g.exec(version)
19+
let match = /\d+\.\d+\.\d+-(.*)\./g.exec(version)
2020
if (match) {
2121
console.log(match[1])
2222
} else {

0 commit comments

Comments
 (0)