diff options
Diffstat (limited to 'build/release.js')
-rw-r--r-- | build/release.js | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/build/release.js b/build/release.js index 968defd7b..33c59ecc2 100644 --- a/build/release.js +++ b/build/release.js @@ -18,8 +18,6 @@ var releaseVersion, pkg, branch, - sizzleLoc = "bower_modules/sizzle", - scpURL = "jqadmin@code.origin.jquery.com:/var/www/html/code.jquery.com/", cdnURL = "http://code.origin.jquery.com/", repoURL = "git@github.com:jquery/jquery.git", @@ -103,9 +101,6 @@ function initialize( next ) { if ( !exists( "package.json" ) ) { die( "No package.json in this directory" ); } - if ( !exists( sizzleLoc ) ) { - die( "Sizzle expected to exist at " + sizzleLoc ); - } pkg = readJSON( "package.json" ); console.log( "Current version is " + pkg.version + "; generating release " + releaseVersion ); @@ -309,15 +304,9 @@ function commitDistFiles( next ) { // Add files to be committed git( [ "add", "package.json" ], function() { git( [ "commit", "-m", "Remove scripts property from package.json" ], function() { - // Add sizzle in a separate commit to avoid a big diff - // Use force to add normally ignored files - git( [ "add", "-f", sizzleLoc ], function() { - git( [ "commit", "-m", "Add sizzle" ], function() { - // Add jquery files for distribution in a final commit - git( [ "add", "-f", devFile, minFile, mapFile ], function() { - git( [ "commit", "-m", releaseVersion ], next, debug ); - }, debug ); - }, debug ); + // Add jquery files for distribution in a final commit + git( [ "add", "-f", devFile, minFile, mapFile ], function() { + git( [ "commit", "-m", releaseVersion ], next, debug ); }, debug ); }, debug ); }, debug ); |