]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: Check patch instead of minor to detect major releases.
authorScott González <scott.gonzalez@gmail.com>
Wed, 16 Jan 2013 18:59:27 +0000 (13:59 -0500)
committerScott González <scott.gonzalez@gmail.com>
Wed, 16 Jan 2013 18:59:27 +0000 (13:59 -0500)
build/release/release.js

index 3470b6575b5e62747ee1157cbc895be2d861e02e..2eab5283fa97574cf3a1f8fb8a481e4780d90660 100644 (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." );
                }