Github
This repository
This repository
All repositories
Browse code

Tagging the 1.8.2 release.

  • Loading branch information...
commit 6e995583a11b63bf1d94142da6408955ee93e7cc 1 parent 044ee41
authored
12  build/release.js
... ... @@ -5,7 +5,7 @@
5 5  
6 6  // Debugging variables
7 7  var  debug = false,
8   -  skipRemote = true;
  8 +  skipRemote = false;
9 9  
10 10  var fs = require("fs"),
11 11    child = require("child_process"),
... ... @@ -52,6 +52,13 @@ steps(
52 52  );
53 53  
54 54  function initialize( next ) {
  55 +
  56 +  if ( process.argv[2] === "-d" ) {
  57 +    process.argv.shift();
  58 +    debug = true;
  59 +    console.warn("=== DEBUG MODE ===" );
  60 +  }
  61 +
55 62    // First arg should be the version number being released
56 63    var newver, oldver,
57 64      rversion = /^(\d)\.(\d+)\.(\d)((?:a|b|rc)\d|pre)?$/,
... ... @@ -74,9 +81,6 @@ function initialize( next ) {
74 81    if ( !(fs.existsSync || path.existsSync)( "package.json" ) ) {
75 82      die( "No package.json in this directory" );
76 83    }
77   -  if ( debug ) {
78   -    console.warn("=== DEBUG MODE ===" );
79   -  }
80 84    pkg = JSON.parse( fs.readFileSync( "package.json" ) );
81 85  
82 86    console.log( "Current version is " + pkg.version + "; generating release " + releaseVersion );
2  package.json
... ... @@ -2,7 +2,7 @@
2 2    "name": "jquery",
3 3    "title": "jQuery",
4 4    "description": "JavaScript library for DOM operations",
5   -  "version": "1.8.2pre",
  5 +  "version": "1.8.2",
6 6    "homepage": "http://jquery.com",
7 7    "author": {
8 8      "name": "jQuery Foundation and other contributors",

0 notes on commit 6e99558

Please sign in to comment.
Something went wrong with that request. Please try again.