private function tagSrcWith($tag, $tagChangelog = false) { $this->taggerEngine->setVersion(sprintf(static::versionPattern, $tag))->tagVersion(); if ($tagChangelog === true) { $this->taggerEngine->tagChangelog($tag); } return $this; }