aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-01-16 13:59:27 -0500
committerScott González <scott.gonzalez@gmail.com>2013-01-16 13:59:27 -0500
commit92bcef9305baf6d496d743f16e125d12820140cf (patch)
tree8a6f0bad1fc56af9825b7a323b3e81c9748ae396
parent1f65b3bca94d7b7d9f0a781bf7fe40979a6c6789 (diff)
downloadjquery-ui-92bcef9305baf6d496d743f16e125d12820140cf.tar.gz
jquery-ui-92bcef9305baf6d496d743f16e125d12820140cf.zip
Build: Check patch instead of minor to detect major releases.
-rw-r--r--build/release/release.js2
1 files changed, 1 insertions, 1 deletions
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." );
}