Skip to content
Permalink
Browse files

Build: Check patch instead of minor to detect major releases.

  • Loading branch information...
scottgonzalez committed Jan 16, 2013
1 parent 1f65b3b commit 92bcef9305baf6d496d743f16e125d12820140cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 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." );
}

0 comments on commit 92bcef9

Please sign in to comment.
You can’t perform that action at this time.