Skip to content

Commit 613d955

Browse files
committed
wip: fix .env missing
1 parent 37eca6a commit 613d955

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Commands/BundleCommand.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,8 @@ private function addFilesToZip(ZipArchive $zip): void
239239

240240
$this->finderToZip($finder, $zip);
241241

242-
// Add .env file manually because Finder ignores VSC ignored files
243-
// $zip->addFile($this->buildPath('.env'), '.env');
244-
// $zip->addFile($this->buildPath('bootstrap/cache/services.php'), 'bootstrap/cache/services.php');
245-
// $zip->addFile($this->buildPath('bootstrap/cache/packages.php'), 'bootstrap/cache/packages.php');
242+
// Add .env file manually because Finder ignores VCS and dot files
243+
$zip->addFile($this->buildPath('.env'), '.env');
246244

247245
// Add auth.json file to support private packages
248246
// WARNING: Only for testing purposes, don't uncomment this

0 commit comments

Comments
 (0)