tagExists method

bool tagExists(
  1. String tagName
)

Implementation

bool tagExists(String tagName) {
  assert(_usingGit == true, 'Must be using git');
  final tags = 'git tag --list'.toList();

  return tags.contains(tagName);
}