useGit API
    Preparing search index...

    Function getSemverTags

    • Retrieves all Git tags from the repository and filters only those that follow a Semantic Version (SemVer) format.

      Internally, it:

      1. Fetches all tags
      2. Filters them using isSemverTag

      Returns Promise<string[]>

      A promise that resolves to an array of SemVer-compliant tag names.

      await getSemverTags();
      // ['v1.0.0', 'v1.1.0', '2.0.0']

      1.0.0