We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fcdb6d2 + cc74fbf commit 37829f8Copy full SHA for 37829f8
templates/cli/app/services/service.php.twig
@@ -78,7 +78,7 @@ $cli
78
}
79
$archiveName = 'code.tar.gz';
80
$volumeMountPoint = realpath(__DIR__.'/../../../files/');
81
- exec("tar -zcvf $archiveName -C ${cloudFunctionParentDir} $cloudFunctionDirName && mv ${archiveName} ${volumeMountPoint}");
+ exec("tar -zcvf $archiveName --exclude=$archiveName -C ${cloudFunctionParentDir} $cloudFunctionDirName && mv ${archiveName} ${volumeMountPoint}");
82
$archivePath = realpath($volumeMountPoint."/$archiveName");$archivePath = realpath($volumeMountPoint."/$archiveName");
83
$cFile = new \CURLFile($archivePath, 'application/x-gzip' , basename($archivePath));
84
@@ -155,4 +155,4 @@ $cli
155
});
156
157
158
-$cli->run();
+$cli->run();
0 commit comments