From 92bcef9305baf6d496d743f16e125d12820140cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Wed, 16 Jan 2013 13:59:27 -0500 Subject: [PATCH] Build: Check patch instead of minor to detect major releases. --- build/release/release.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." ); } -- 2.39.5