stubber.utils.makeversionhdr

Code from micropyton project and adapted to use the same versioning scheme

Module Contents

Functions

get_version_info_from_git([path])

return the version info from the git repository specified.

get_version_build_from_git([path])

stubber.utils.makeversionhdr.get_version_info_from_git(path: pathlib.Path = Path.cwd())

return the version info from the git repository specified. returns: a 2-tuple containing git_tag, short_hash

Parameters

path (pathlib.Path) –

stubber.utils.makeversionhdr.get_version_build_from_git(path: pathlib.Path = Path.cwd())
Parameters

path (pathlib.Path) –