option('write')) { $version_file = config_path('version.yml'); $cfg = Yaml::parse(file_get_contents($version_file)); $version = $this->createVersionNumber($cfg); $cfg['build']['number'] = $version; file_put_contents($version_file, Yaml::dump($cfg, 4, 2)); } $this->call('version:show', [ '--format' => 'compact', '--suppress-app-name' => true ]); } }