]> source.dussan.org Git - jquery.git/commitdiff
Tagging the 1.8.2 release.
authorDave Methvin <dave.methvin@gmail.com>
Fri, 21 Sep 2012 01:12:38 +0000 (21:12 -0400)
committerDave Methvin <dave.methvin@gmail.com>
Fri, 21 Sep 2012 01:12:38 +0000 (21:12 -0400)
build/release.js
package.json

index 396ddefc418f0430d8fe2767f0aa6caecaf5df13..8c277d4df112db9ece00c0864d102ad9feee4fb9 100644 (file)
@@ -5,7 +5,7 @@
 
 // Debugging variables
 var    debug = false,
-       skipRemote = true;
+       skipRemote = false;
 
 var fs = require("fs"),
        child = require("child_process"),
@@ -52,6 +52,13 @@ steps(
 );
 
 function initialize( next ) {
+
+       if ( process.argv[2] === "-d" ) {
+               process.argv.shift();
+               debug = true;
+               console.warn("=== DEBUG MODE ===" );
+       }
+
        // First arg should be the version number being released
        var newver, oldver,
                rversion = /^(\d)\.(\d+)\.(\d)((?:a|b|rc)\d|pre)?$/,
@@ -74,9 +81,6 @@ function initialize( next ) {
        if ( !(fs.existsSync || path.existsSync)( "package.json" ) ) {
                die( "No package.json in this directory" );
        }
-       if ( debug ) {
-               console.warn("=== DEBUG MODE ===" );
-       }
        pkg = JSON.parse( fs.readFileSync( "package.json" ) );
 
        console.log( "Current version is " + pkg.version + "; generating release " + releaseVersion );
index 96dcb1e35a497a60138a2e7027de4a48f1010c6d..d23b24cc37c8bf8525458d70faf18830d3ddf42b 100644 (file)
@@ -2,7 +2,7 @@
        "name": "jquery",
        "title": "jQuery",
        "description": "JavaScript library for DOM operations",
-       "version": "1.8.2pre",
+       "version": "1.8.2",
        "homepage": "http://jquery.com",
        "author": {
                "name": "jQuery Foundation and other contributors",