Commit 6e995583 authored by Dave Methvin's avatar Dave Methvin

Tagging the 1.8.2 release.

parent 044ee412
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// Debugging variables // Debugging variables
var debug = false, var debug = false,
skipRemote = true; skipRemote = false;
var fs = require("fs"), var fs = require("fs"),
child = require("child_process"), child = require("child_process"),
...@@ -52,6 +52,13 @@ steps( ...@@ -52,6 +52,13 @@ steps(
); );
function initialize( next ) { 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 // First arg should be the version number being released
var newver, oldver, var newver, oldver,
rversion = /^(\d)\.(\d+)\.(\d)((?:a|b|rc)\d|pre)?$/, rversion = /^(\d)\.(\d+)\.(\d)((?:a|b|rc)\d|pre)?$/,
...@@ -74,9 +81,6 @@ function initialize( next ) { ...@@ -74,9 +81,6 @@ function initialize( next ) {
if ( !(fs.existsSync || path.existsSync)( "package.json" ) ) { if ( !(fs.existsSync || path.existsSync)( "package.json" ) ) {
die( "No package.json in this directory" ); die( "No package.json in this directory" );
} }
if ( debug ) {
console.warn("=== DEBUG MODE ===" );
}
pkg = JSON.parse( fs.readFileSync( "package.json" ) ); pkg = JSON.parse( fs.readFileSync( "package.json" ) );
console.log( "Current version is " + pkg.version + "; generating release " + releaseVersion ); console.log( "Current version is " + pkg.version + "; generating release " + releaseVersion );
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"name": "jquery", "name": "jquery",
"title": "jQuery", "title": "jQuery",
"description": "JavaScript library for DOM operations", "description": "JavaScript library for DOM operations",
"version": "1.8.2pre", "version": "1.8.2",
"homepage": "http://jquery.com", "homepage": "http://jquery.com",
"author": { "author": {
"name": "jQuery Foundation and other contributors", "name": "jQuery Foundation and other contributors",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment