[][src]Function jilu::git::tags

pub fn tags(repo: &Repository) -> Result<Vec<Tag>, Error>

Fetch all Git tags to be used as release tags in the change log.

This function fetches all Git tags, and converts them into our own Tag wrapper, for ease of use and testing.

Any tags that do not conform to our expected layout will be ignored without returning an error (but with an optional log line to explain why the tag was ignored), to allow the application to be used in repositories where not all tags adhere to the expected format.

Any unexpected error is still bubbled up to the callee.