- Added
WithContext
option. - Minor dependency update.
- Added
GetLatestTagIgnoringPrefix
, which will ignore a user-defined prefix when parsing the semver from a tag. e.g. given a prefix of "release-", a ref ofrefs/tags/release-v1.0.0
will parse as semver1.0.0
.
- Removed debug print statement from GetLatestTag.
- GetLatestTag will now return a stable answer if there are multiple, equivalent
tags in the repository (e.g.
refs/tags/v1.0.0
andrefs/tags/1.0.0
). Previously the returned tag would be randomly selected.