From: Scott González Date: Wed, 16 Jan 2013 18:59:27 +0000 (-0500) Subject: Build: Check patch instead of minor to detect major releases. X-Git-Tag: 1.10.0~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=92bcef9305baf6d496d743f16e125d12820140cf;p=jquery-ui.git Build: Check patch instead of minor to detect major releases. --- diff --git a/build/release/release.js b/build/release/release.js index 3470b6575..2eab5283f 100644 --- a/build/release/release.js +++ b/build/release/release.js @@ -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." ); }