stubber.utils.makeversionhdr¶
Code from micropyton project and adapted to use the same versioning scheme
Functions¶
|
return the version info from the git repository specified. |
Module Contents¶
- stubber.utils.makeversionhdr.get_version_info_from_git(path: pathlib.Path | None = None) Tuple[str | None, str | None]¶
return the version info from the git repository specified. returns: a 2-tuple containing git_tag, short_hash
- Parameters:
path (Optional[pathlib.Path])
- Return type: