fix: streamline helper version retrieval and improve migration clarity

This commit is contained in:
Andras Bacsai
2025-11-03 08:57:52 +01:00
parent c758de9e7c
commit a660dd8c83
2 changed files with 89 additions and 96 deletions

View File

@@ -2907,8 +2907,7 @@ function getHelperVersion(): string
return $settings->dev_helper_version;
}
// In production or when dev_helper_version is not set, use the configured helper_version
return $settings->helper_version ?? config('constants.coolify.helper_version');
return config('constants.coolify.helper_version');
}
function loadConfigFromGit(string $repository, string $branch, string $base_directory, int $server_id, int $team_id)