Skip to content

Commit 92bcef9

Browse files
committed
Build: Check patch instead of minor to detect major releases.
1 parent 1f65b3b commit 92bcef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/release/release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function getVersions() {
121121

122122
// TODO: handle 1.10.0
123123
// Also see comment above about pre-releases
124-
if ( minor === 0 ) {
124+
if ( patch === 0 ) {
125125
abort( "This script is not smart enough to handle the 1.10.0 release." );
126126
}
127127

0 commit comments

Comments
 (0)