Skip to content

Commit

Permalink
Fix artifact file generation when "from_repo" option is enabled (#3560)
Browse files Browse the repository at this point in the history
  • Loading branch information
guvra authored Apr 5, 2023
1 parent 2f4bf4d commit 4a40c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipe/magento2.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ function magentoDeployAssetsSplit(string $area)
"No artifact excludes file provided, provide one at artifacts/excludes or change location"
);
}
run('{{bin/tar}} --exclude-from={{artifact_excludes_file}} -czf {{artifact_path}} {{release_or_current_path}}');
run('{{bin/tar}} --exclude-from={{artifact_excludes_file}} -czf {{artifact_path}} -C {{release_or_current_path}} .');
});

desc('Uploads artifact in release folder for extraction.');
Expand Down

0 comments on commit 4a40c60

Please sign in to comment.