mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 04:23:34 +00:00
Add manual fix-release validation and stable image rebuilds, inject traceable development versions into SHA builds, and suppress invalid release links for development versions.
11 lines
496 B
PHP
11 lines
496 B
PHP
@php($version = config('constants.coolify.version'))
|
|
|
|
@if (str_contains($version, '-dev.'))
|
|
<span {{ $attributes->merge(['class' => 'text-xs opacity-90']) }}>v{{ $version }}</span>
|
|
@else
|
|
<a {{ $attributes->merge(['class' => 'text-xs cursor-pointer opacity-90 hover:opacity-100 dark:hover:text-white hover:text-black']) }}
|
|
href="https://github.com/coollabsio/coolify/releases/tag/v{{ config('constants.coolify.version') }}" target="_blank">
|
|
v{{ $version }}
|
|
</a>
|
|
@endif
|