Update server check and version numbers

This commit is contained in:
Andras Bacsai 2024-02-26 11:25:38 +01:00
parent b67abe58e8
commit 600c43827a
4 changed files with 6 additions and 3 deletions

View File

@ -107,6 +107,9 @@ public function runCommand()
{
$this->validate();
try {
if ($this->server->isForceDisabled()) {
throw new \RuntimeException('Server is disabled.');
}
// Wrap command to prevent escaped execution in the host.
$cmd = 'sh -c "if [ -f ~/.profile ]; then . ~/.profile; fi; ' . str_replace('"', '\"', $this->command) . '"';
if (!empty($this->workDir)) {

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.225',
'release' => '4.0.0-beta.226',
// 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.225';
return '4.0.0-beta.226';

View File

@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
"version": "4.0.0-beta.225"
"version": "4.0.0-beta.226"
}
}
}