public function register()
{
$this->app->bind(LatestReleaseInterface::class, LatestRelease::class);
$this->app->singleton('deployer.update-check', function ($app) {
$cache = $app['cache.store'];
return new LatestRelease($cache);
});
$this->app->alias('deployer.update-check', LatestReleaseInterface::class);
}