bool tagExists(String tagName) { assert(_usingGit == true); final tags = 'git tag --list'.toList(); return tags.contains(tagName); }