Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: shared env variable parsing

Andras Bacsai07c9db9b54ea
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php
index 1346a6deda..a27800ee39 100644
--- a/app/Jobs/ApplicationDeploymentJob.php
+++ b/app/Jobs/ApplicationDeploymentJob.php
@@ -1367,7 +1367,7 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
// Old environment variables are not escaped, because it could break the application
// as the application could expect the unescaped value.
if ($env->version === '4.0.0-beta.239') {
- $real_value = $env->value;
+ $real_value = $env->real_value;
} else {
$real_value = escapeEnvVariables($env->real_value);
}
@@ -1375,7 +1375,7 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
}
foreach ($this->application->nixpacks_environment_variables as $env) {
if ($env->version === '4.0.0-beta.239') {
- $real_value = $env->value;
+ $real_value = $env->real_value;
} else {
$real_value = escapeEnvVariables($env->real_value);
}
@@ -1384,7 +1384,7 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
} else {
foreach ($this->application->runtime_environment_variables_preview as $env) {
if ($env->version === '4.0.0-beta.239') {
- $real_value = $env->value;
+ $real_value = $env->real_value;
} else {
$real_value = escapeEnvVariables($env->real_value);
}
@@ -1392,7 +1392,7 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
}
foreach ($this->application->nixpacks_environment_variables_preview as $env) {
if ($env->version === '4.0.0-beta.239') {
- $real_value = $env->value;
+ $real_value = $env->real_value;
} else {
$real_value = escapeEnvVariables($env->real_value);
}
diff --git a/config/sentry.php b/config/sentry.php
index 5d46ba7f3a..b4c1aa5f4e 100644
--- a/config/sentry.php
+++ b/config/sentry.php
@@ -7,7 +7,7 @@ return [
// 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.240',
+ 'release' => '4.0.0-beta.241',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),
diff --git a/config/version.php b/config/version.php
index c7e1008fca..f00cd2d571 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
<?php
-return '4.0.0-beta.240';
+return '4.0.0-beta.241';
diff --git a/versions.json b/versions.json
index ba197ca84f..e485bbd660 100644
--- a/versions.json
+++ b/versions.json
@@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
- "version": "4.0.0-beta.240"
+ "version": "4.0.0-beta.241"
}
}
}