Compare commits

...

1 Commits
1.0.2 ... main

Author SHA1 Message Date
10f5799da2 added commit hash to version
All checks were successful
Laravel / laravel-tests (push) Successful in 4m44s
renovate / renovate (push) Successful in 35s
2026-02-03 22:10:56 +10:00
2 changed files with 9 additions and 1 deletions

View File

@@ -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', ''),
]; ];

View File

@@ -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 ❤️&nbsp;© {{ date('Y') }} STEMMechanics v{{ config('app.version') }}</div> @php $commit = config('app.commit'); @endphp
<div>
Made with ❤️&nbsp;© {{ date('Y') }} STEMMechanics
v{{ config('app.version') }}
@if(!empty($commit))
({{ substr($commit, 0, 10) }})
@endif
</div>
</section> </section>
</footer> </footer>