Build: Check patch instead of minor to detect major releases.

This commit is contained in:
Scott González 2013-01-16 13:59:27 -05:00
parent 1f65b3bca9
commit 92bcef9305

View File

@ -121,7 +121,7 @@ function getVersions() {
// TODO: handle 1.10.0
// Also see comment above about pre-releases
if ( minor === 0 ) {
if ( patch === 0 ) {
abort( "This script is not smart enough to handle the 1.10.0 release." );
}