stubber.utils.makeversionhdr
¶
Code from micropyton project and adapted to use the same versioning scheme
Module Contents¶
Functions¶
|
return the version info from the git repository specified. |
- stubber.utils.makeversionhdr.get_version_info_from_git(path: pathlib.Path = Path.cwd()) 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 (pathlib.Path) –
- Return type: