Documentation ¶
Overview ¶
Package inspectgit collects version tags and unreleased commits from a git repository
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VCSData ¶
VCSData returns current version and list of unreleased changes
Open repository at `path` and traverse parents of `HEAD` to find the tag that represents previous release and the commits that haven't been released yet.
func VCSDataWithPrefix ¶
VCSDataWithPrefix returns current version and list of unreleased changes
The same as VCSData, but allows prefix before version, when searching earlier releases. Versions without the prefix are still recognized.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.