mirror of
https://github.com/deployphp/deployer.git
synced 2025-04-20 21:36:19 +02:00
Removed temporary workaround as it is for a version which is a year old (#3325)
This commit is contained in:
parent
6d759ef372
commit
eaf30607f0
@ -156,19 +156,6 @@ task('sw-build-without-db:get-remote-config', static function () {
|
||||
|
||||
run('./bin/console theme:dump');
|
||||
download('{{deploy_path}}/current/files/theme-config', './files/');
|
||||
|
||||
// Temporary workaround to remove absolute file paths in Shopware <6.4.6.0
|
||||
// See:
|
||||
// - https://github.com/shopware/platform/commit/01c8ff86c7d8d3bee1888a26c24c9dc9b4529cbc
|
||||
// - https://issues.shopware.com/issues/NEXT-17720
|
||||
// - https://github.com/deployphp/deployer/issues/2754
|
||||
$deployPath = get('deploy_path');
|
||||
if (substr($deployPath, -1, 1) !== '/') {
|
||||
$deployPath .= '/';
|
||||
}
|
||||
$deployPath .= 'releases/[0-9a-zA-Z]*/';
|
||||
$escapedDeployPath = str_replace('/', '\\\\/', $deployPath);
|
||||
runLocally("sed -iE 's#${escapedDeployPath}##g' files/theme-config/* || true");
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user