Skip to content
This repository has been archived by the owner on Mar 18, 2018. It is now read-only.

Commit

Permalink
Allow skipping "copy previous release" optimization by setting config…
Browse files Browse the repository at this point in the history
….copy to false
  • Loading branch information
Dragory authored Sep 5, 2017
1 parent bf0d4d5 commit 8ddc7e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/deploy/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = function (gruntOrShipit) {

function copyPreviousRelease() {
var copyParameter = shipit.config.copy || '-a';
if (!shipit.previousRelease) {
if (!shipit.previousRelease || shipit.config.copy === false) {
return Promise.resolve();
}
shipit.log('Copy previous release to "%s"', shipit.releasePath);
Expand Down

0 comments on commit 8ddc7e3

Please sign in to comment.