code: async function getTags(execaOpts) {
    return (await execa.stdout('git', ['tag'], execaOpts))
      .split('\n')
      .map(tag => tag.trim())
      .filter(Boolean);
  }
docs: Get all the repository tags.
  
  @param {Object} [execaOpts] Options to pass to `execa`.
  
  @return {Array<String>} List of git tags.
  @throws {Error} If the `git` command fails.