Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 056cb26

Browse files
committed
[WIP] compare-master-to-stable hotfix
1 parent 197c860 commit 056cb26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compare-master-to-stable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ then(function(tags) {
102102
sort(semver.rcompare);
103103
}).
104104
then(function(tags) {
105-
var major = tags[0].split('.')[0];
105+
var major = semver(tags[0]).major;
106106
return tags.
107107
filter(function(ver) {
108108
return semver(ver).major === major;

0 commit comments

Comments
 (0)