Issue/327 versioning (#345)

* Switch to semver format

* Rewrite new version check to use Github Releases and cron

* Styling

* Remove v from in front of version

* New version check test fix

* Uncomment test case
This commit is contained in:
Nabeel S
2019-08-06 17:48:00 -04:00
committed by GitHub
parent 092b9fc9dc
commit e12188b7d3
16 changed files with 1195 additions and 298 deletions

View File

@@ -2,7 +2,10 @@
namespace App\Providers;
use App\Cron\Hourly\RemoveExpiredBids;
use App\Cron\Hourly\RemoveExpiredLiveFlights;
use App\Cron\Nightly\ApplyExpenses;
use App\Cron\Nightly\NewVersionCheck;
use App\Cron\Nightly\PilotLeave;
use App\Cron\Nightly\RecalculateBalances;
use App\Cron\Nightly\RecalculateStats;
@@ -25,6 +28,7 @@ class CronServiceProvider extends ServiceProvider
PilotLeave::class,
SetActiveFlights::class,
RecalculateStats::class,
NewVersionCheck::class,
],
CronWeekly::class => [
@@ -35,8 +39,8 @@ class CronServiceProvider extends ServiceProvider
],
CronHourly::class => [
\App\Cron\Hourly\RemoveExpiredBids::class,
\App\Cron\Hourly\RemoveExpiredLiveFlights::class,
RemoveExpiredBids::class,
RemoveExpiredLiveFlights::class,
],
];
}