lib/git.js
function listTags(localRepoDir) {
    var stdout = _child_process2['default'].execSync('git tag -l', { cwd: _path2['default'].resolve(localRepoDir) });
    return stdout.toString().match(/[^\r\n]+/g).filter(function (v) {
      return v.length !== 0;
    }).map(function (v) {
      return v.trim();
    });
  }
function listTags(localRepoDir) {
    var stdout = _child_process2['default'].execSync('git tag -l', { cwd: _path2['default'].resolve(localRepoDir) });
    return stdout.toString().match(/[^\r\n]+/g).filter(function (v) {
      return v.length !== 0;
    }).map(function (v) {
      return v.trim();
    });
  }
function listTags ( localRepoDir ) { var stdout = _child_process2 [ 'default' ] . execSync ( 'git tag -l' , { cwd : _path2 [ 'default' ] . resolve ( localRepoDir ) } ) ; return stdout . toString ( ) . match ( / [^\r\n]+ / g ) . filter ( function ( v ) { return v . length !== 0 ; } ) . map ( function ( v ) { return v . trim ( ) ; } ) ; }
git list all the tags

@param {String} [localRepoDir] local repo dir
@public
git list all the tags