aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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." );
}