A tool to create a project version number from a git repository
Project description
A tool to create a project version number from a git repository
Generates a PEP 440 compliant string based on the git history of the repository.
The version string is generated as follows: {major_version}.{minor_version}.{patch_version}{a{number_of_files_changed}}{b{number_of_untracked_files}} Where the {major_version} is set by the user The {minor_version} is the number of merges The {patch_version} is the number of commits The {number_of_files_changed} is the number of files changed The {number_of_untracked_files} is the number of untracked files
If the repoistory is pristine, then with will not be marked as ‘alpha’ or ‘beta’
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for git2version-0.0.48-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae86b631df4838163053675ce39fa598bb39cb79ea0ba162d0566fe82c9c4393 |
|
MD5 | c9563a1cd8b5fab9a574d1caa8fd27ee |
|
BLAKE2b-256 | cdac06b48114effc0950b517dfec79ca7f69c6e19b98b12d0fbe023282203416 |