From: Timmy Willison Date: Fri, 8 Jan 2016 18:26:58 +0000 (-0500) Subject: Release: ensure files are copied to dist X-Git-Tag: 2.2.0~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b4e139cb7bdd890c0bf7d1c64f112e44100598a5;p=jquery.git Release: ensure files are copied to dist --- diff --git a/build/release/dist.js b/build/release/dist.js index 6439f6b31..35d074ae8 100644 --- a/build/release/dist.js +++ b/build/release/dist.js @@ -62,12 +62,12 @@ module.exports = function( Release, complete ) { "dist/jquery.min.js", "dist/jquery.min.map" ].forEach( function( file ) { - shell.cp( Release.dir.repo + "/" + file, distFolder ); + shell.cp( "-f", Release.dir.repo + "/" + file, distFolder ); } ); // Copy other files files.forEach( function( file ) { - shell.cp( "-r", Release.dir.repo + "/" + file, Release.dir.dist ); + shell.cp( "-rf", Release.dir.repo + "/" + file, Release.dir.dist ); } ); // Write generated bower file