Skip to content

Commit

Permalink
Tagging the 1.8.2 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmethvin committed Sep 21, 2012
1 parent 044ee41 commit 6e99558
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions build/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 5,7 @@

// Debugging variables
var debug = false,
skipRemote = true;
skipRemote = false;

var fs = require("fs"),
child = require("child_process"),
Expand Down Expand Up @@ -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)?$/,
Expand All @@ -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 );
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6e99558

Please sign in to comment.