/** * Execute the console command. * * @return void */ public function handle() { $version = $this->argument('version'); $this->info('Notifying Sentry of new version: ' . $version); try { $this->centurian->createRelease($version); } catch (Exception $e) { $this->error('There was an error making your release.'); return; } $this->info('Version ' . $version . ' has been released.'); }