Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tagging the 1.8.2 release.

  • Loading branch information...
commit 6e995583a11b63bf1d94142da6408955ee93e7cc 1 parent 044ee41
@dmethvin dmethvin authored
Showing with 9 additions and 5 deletions.
  1. +8 −4 build/release.js
  2. +1 −1  package.json
View
12 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 );
View
2  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",
Please sign in to comment.
Something went wrong with that request. Please try again.