mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-27 01:30:04 +02:00
Merge pull request #96 from elnebuloso/bugfix-tar-deployment
bugfix, deployment targz
This commit is contained in:
commit
78379e866f
|
@ -66,7 +66,7 @@ class TarGzTask extends BaseStrategyTaskAbstract implements IsReleaseAware
|
||||||
$excludeCmd .= ' --exclude=' . $excludeFile;
|
$excludeCmd .= ' --exclude=' . $excludeFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
$command = 'tar cfz ' . $localTarGz . '.tar.gz ' . $excludeCmd . ' ' . $this->getConfig()->deployment('from');
|
$command = 'tar cfz ' . $localTarGz . '.tar.gz ' . $excludeCmd . ' -C ' . $this->getConfig()->deployment('from') . ' .';
|
||||||
$result = $this->runCommandLocal($command);
|
$result = $this->runCommandLocal($command);
|
||||||
|
|
||||||
// Copy Tar Gz to Remote Host
|
// Copy Tar Gz to Remote Host
|
||||||
|
|
Loading…
Reference in a new issue