Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Semvers ¶
type Semvers struct { RepoPath string `short:"r" long:"repo" default:"." description:"git repository path"` GitPath string `short:"g" long:"git" default:"git" description:"git path"` WithPreRelease bool `short:"P" long:"with-pre-release" description:"display pre-release versions"` WithBuildMetadata bool `short:"B" long:"with-build-metadata" description:"display build-metadata versions"` VerPrefix string ` long:"ver-prefix" description:"custom version prefix (ex. foo-1.2.3)"` }
Semvers retrieve semvers from git tags
func (*Semvers) VersionStrings ¶
VersionStrings returns version strings
Click to show internal directories.
Click to hide internal directories.