added commit hash to version
This commit is contained in:
@@ -125,4 +125,5 @@ return [
|
|||||||
|
|
||||||
'notice' => env('APP_NOTICE', ''),
|
'notice' => env('APP_NOTICE', ''),
|
||||||
'version' => env('APP_VERSION', 'dev'),
|
'version' => env('APP_VERSION', 'dev'),
|
||||||
|
'commit' => env('APP_COMMIT', ''),
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -25,6 +25,13 @@
|
|||||||
</section>
|
</section>
|
||||||
<section class="border-t border-t-gray-600 pt-8 flex justify-between text-xs items-center flex-col sm:flex-row">
|
<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 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>
|
</section>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
Reference in New Issue
Block a user