deleteGitTag method

void deleteGitTag(
  1. Version newVersion
)

Implementation

void deleteGitTag(Version newVersion) {
  assert(_usingGit == true, 'Must be using git');
  'git tag -d $newVersion'.start(workingDirectory: pathToGitRoot);
  if (hasRemote) {
    'git push --follow-tags'.start(workingDirectory: pathToGitRoot);
  }
}