// Debugging variables
var debug = false,
- skipRemote = true;
+ skipRemote = false;
var fs = require("fs"),
child = require("child_process"),
);
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)?$/,
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 );
"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",