Fix issue with saving environment variables and update version numbers

This commit is contained in:
Andras Bacsai 2024-04-17 12:08:35 +02:00
parent 6b890cf3b3
commit 98c2056f53
4 changed files with 11 additions and 3 deletions

View File

@ -791,6 +791,14 @@ private function save_environment_variables()
"echo '{$this->saved_outputs->get('dotenv')->value()}' | tee $this->configuration_dir/.env > /dev/null"
]
);
} else {
$this->execute_remote_command(
[
"command" => "rm -f $this->configuration_dir/.env",
"hidden" => true,
"ignore_errors" => true
]
);
}
$envs_base64 = base64_encode($envs->implode("\n"));
$this->execute_remote_command(

View File

@ -7,7 +7,7 @@
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => '4.0.0-beta.259',
'release' => '4.0.0-beta.260',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),

View File

@ -1,3 +1,3 @@
<?php
return '4.0.0-beta.259';
return '4.0.0-beta.260';

View File

@ -1,7 +1,7 @@
{
"coolify": {
"v4": {
"version": "4.0.0-beta.259"
"version": "4.0.0-beta.260"
}
}
}