added commit hash to version
This commit is contained in:
@@ -125,4 +125,5 @@ return [
|
||||
|
||||
'notice' => env('APP_NOTICE', ''),
|
||||
'version' => env('APP_VERSION', 'dev'),
|
||||
'commit' => env('APP_COMMIT', ''),
|
||||
];
|
||||
|
||||
@@ -25,6 +25,13 @@
|
||||
</section>
|
||||
<section class="border-t border-t-gray-600 pt-8 flex justify-between text-xs items-center flex-col sm:flex-row">
|
||||
<div class="mb-3 sm:mb-0">@includeSVG('logo.svg', 'width:10rem;margin-top:-0.2rem;color:#DDD')</div>
|
||||
<div>Made with ❤️ © {{ date('Y') }} STEMMechanics • v{{ config('app.version') }}</div>
|
||||
@php $commit = config('app.commit'); @endphp
|
||||
<div>
|
||||
Made with ❤️ © {{ date('Y') }} STEMMechanics
|
||||
• v{{ config('app.version') }}
|
||||
@if(!empty($commit))
|
||||
({{ substr($commit, 0, 10) }})
|
||||
@endif
|
||||
</div>
|
||||
</section>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user