We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a832a1b commit ebcf18eCopy full SHA for ebcf18e
lib/update-v8/majorUpdate.js
@@ -54,7 +54,7 @@ function checkoutBranch() {
54
'--sort',
55
'version:refname'
56
);
57
- const tags = res.stdout.split('\n');
+ const tags = res.stdout.split('\n').filter(tag => versionReg.test(tag));
58
const lastTag = tags[tags.length - 1];
59
if (lastTag) version = lastTag;
60
if (version.split('.').length === 3) {
0 commit comments