aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2012-09-20 21:12:38 -0400
committerDave Methvin <dave.methvin@gmail.com>2012-09-20 21:12:38 -0400
commit6e995583a11b63bf1d94142da6408955ee93e7cc (patch)
tree1b7844727d7ca5e45cc251979b972eb64ae2bf17
parent044ee41282f8e97f2fa14b4d103c16ac6ba6874c (diff)
downloadjquery-6e995583a11b63bf1d94142da6408955ee93e7cc.tar.gz
jquery-6e995583a11b63bf1d94142da6408955ee93e7cc.zip
Tagging the 1.8.2 release.
-rw-r--r--build/release.js12
-rw-r--r--package.json2
2 files changed, 9 insertions, 5 deletions
diff --git a/build/release.js b/build/release.js
index 396ddefc4..8c277d4df 100644
--- a/build/release.js
+++ b/build/release.js
@@ -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 );
diff --git a/package.json b/package.json
index 96dcb1e35..d23b24cc3 100644
--- a/package.json
+++ b/package.json
@@ -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",