private function tagDevelopmentVersion($tag)
{
$this->tagSrcWith($tag);
try {
$this->git->addAllAndCommit('Set version to ' . $tag . '.');
} catch (\exception $exception) {
$this->writeError($exception->getMessage());
$this->git->resetHardTo('HEAD~1');
return false;
}
return true;
}