Updated build and versioning system

Added versioning file instead of using git tags
(Step towards removing git as a dependancy in the future)

Updated gulpfile to fit with verisioning system and cleaned
up node dependancies.

Fixes #108
This commit is contained in:
Dan Brown
2016-10-30 17:44:00 +00:00
parent a6c6c6e300
commit ab468bac3c
14 changed files with 72 additions and 128 deletions

View File

@ -17,10 +17,7 @@ class SettingController extends Controller
$this->setPageTitle('Settings');
// Get application version
$version = false;
if (function_exists('exec')) {
$version = exec('git describe --always --tags ');
}
$version = trim(file_get_contents(base_path('version')));
return view('settings/index', ['version' => $version]);
}