Skip to content

Commit

Permalink
Fix issue with saving environment variables and update version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Apr 17, 2024
1 parent 6b890cf commit 98c2056
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions app/Jobs/ApplicationDeploymentJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion config/sentry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),

Expand Down
2 changes: 1 addition & 1 deletion config/version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

return '4.0.0-beta.259';
return '4.0.0-beta.260';
2 changes: 1 addition & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"coolify": {
"v4": {
"version": "4.0.0-beta.259"
"version": "4.0.0-beta.260"
}
}
}
Expand Down

0 comments on commit 98c2056

Please sign in to comment.