diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-12-06 15:55:55 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-12-06 16:04:35 -0500 |
commit | f9ad13c9ec8967916427642db2883a1bf3bccd86 (patch) | |
tree | ad55994991cada6f447596609d763898eefd68a1 /build/release.js | |
parent | ed20e7c645064822f4070a0c60195e4bcdaba683 (diff) | |
download | jquery-f9ad13c9ec8967916427642db2883a1bf3bccd86.tar.gz jquery-f9ad13c9ec8967916427642db2883a1bf3bccd86.zip |
Manage bower dependencies with grunt-bowercopy
Tracked bower dependencies are located at "src/sizzle" and "test/libs".
The source-destination mapping is in the Gruntfile.
When updating a bower dependency, update the version in bower.json, run
`grunt bower`, and then commit the result. When adding a dependency,
update the bowercopy task accordingly.
Fixes #14615.
Closes gh-1452.
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 ); |