Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LatestTag ¶
LatestTag attempts to find the highest semver tag from the repository at the given url. Returns the tag and the commit hash of that tag, or an error if no semver tags are found. Tags that can't be parsed as semver are silently ignored.
func LatestTagIgnoringPrefix ¶ added in v1.2.0
LatestTagIgnoringPrefix behaves the same as LatestTag, but ignores the given prefix when trying to parse tags as semver. This can be useful if releases are tagged with "release-" or similar.
Types ¶
Click to show internal directories.
Click to hide internal directories.