diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..6d7de6e --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +1.0.2 diff --git a/config/app.php b/config/app.php index 6a22216..6d56895 100644 --- a/config/app.php +++ b/config/app.php @@ -123,6 +123,6 @@ return [ 'store' => env('APP_MAINTENANCE_STORE', 'database'), ], - 'version' => env('APP_VERSION', '1.0.0'), + 'version' => trim(file_exists(base_path('VERSION')) ? file_get_contents(base_path('VERSION')) : '1.0.0'), ];