From b4e139cb7bdd890c0bf7d1c64f112e44100598a5 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Fri, 8 Jan 2016 13:26:58 -0500 Subject: [PATCH] Release: ensure files are copied to dist --- build/release/dist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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