Change plugins download directory

[MAILPOET-3482]
This commit is contained in:
Rostislav Wolny
2021-04-16 17:08:16 +02:00
committed by Veljko V
parent 03f25fdf64
commit 44f1269916
4 changed files with 8 additions and 4 deletions

View File

@ -903,12 +903,12 @@ class RoboFile extends \Robo\Tasks {
exit(0); // Exit with 0 since it is a valid state for some environments
}
$this->createGithubClient('woocommerce/woocommerce-subscriptions')
->downloadReleaseZip('woocommerce-subscriptions.zip', __DIR__ . '/tools/vendor/', $tag);
->downloadReleaseZip('woocommerce-subscriptions.zip', __DIR__ . '/tests/plugins/', $tag);
}
public function downloadWooCommerceZip($tag = null) {
$this->createGithubClient('woocommerce/woocommerce')
->downloadReleaseZip('woocommerce.zip', __DIR__ . '/tools/vendor/', $tag);
->downloadReleaseZip('woocommerce.zip', __DIR__ . '/tests/plugins/', $tag);
}
public function generateData($generatorName = null) {