export function tag()

in src/help/git.ts [62:72]


export function tag(name: string): boolean {
  try {
    shell.run(`git tag -a ${name} -m ${name}`, { capture: true });
    return true;
  } catch (e) {
    if (e.message.includes('already exists')) {
      return false;
    }
    throw e;
  }
}