Created
June 24, 2013 14:35
-
-
Save rxaviers/5850493 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/build/release/release.js b/build/release/release.js | |
| index 3cbee64..39cdc1f 100644 | |
| --- a/build/release/release.js | |
| +++ b/build/release/release.js | |
| @@ -119,15 +119,7 @@ function getVersions() { | |
| minor = parseInt( parts[ 1 ], 10 ); | |
| patch = parseInt( parts[ 2 ], 10 ); | |
| - // TODO: handle 1.10.0 | |
| - // Also see comment above about pre-releases | |
| - if ( patch === 0 ) { | |
| - abort( "This script is not smart enough to handle the 1.10.0 release." ); | |
| - } | |
| - | |
| - prevVersion = patch === 0 ? | |
| - [ major, minor - 1, 0 ].join( "." ) : | |
| - [ major, minor, patch - 1 ].join( "." ); | |
| + prevVersion = "1.10.2"; | |
| nextVersion = [ major, minor, patch + 1 ].join( "." ) + "pre"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment