public function execute()
{
/** @var VCSInterface $vcs */
$vcs = Context::get('vcs');
if (count($vcs->getLocalModifications()) == 0) {
Context::get('output')->writeln('<error>No modification found, aborting commit</error>');
return;
}
$vcs->saveWorkingCopy(str_replace('%version%', Context::getParam('new-version'), $this->options['commit-message']));
$this->confirmSuccess();
}