feat(release): rebuild stable images from reviewed draft releases

Add manual fix-release validation and stable image rebuilds, inject traceable development versions into SHA builds, and suppress invalid release links for development versions.
This commit is contained in:
Andras Bacsai
2026-08-11 16:11:13 +02:00
parent d64cbda3e8
commit 5e0e76df4b
8 changed files with 319 additions and 123 deletions
@@ -1,5 +1,7 @@
<?php
use Illuminate\Support\Facades\Blade;
/**
* Header version badge should open the matching GitHub release page.
*/
@@ -15,3 +17,14 @@ test('desktop header version links to the coolify github release for the install
->toContain("https://github.com/coollabsio/coolify/releases/tag/v{{ config('constants.coolify.version') }}")
->toContain('target="_blank"');
});
test('development versions are not linked to nonexistent github releases', function () {
config(['constants.coolify.version' => '4.3.1-dev.d64cbda3e']);
$version = Blade::render('<x-version />');
expect($version)
->toContain('v4.3.1-dev.d64cbda3e')
->not->toContain('href=')
->not->toContain('target="_blank"');
});