File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 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 | r c ) \d | p r e ) ? $ / ,
@@ -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 ) ;
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments