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 prestine, 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.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd870436e83039190905cf75de19a45c4a5c06cc80b8501a7a7b9b364cdc6d74 |
|
MD5 | fae84616a0b8d4f9068639f712d9790f |
|
BLAKE2b-256 | 1e8f5322ae9cbadbacd911d2959631facd0ba77ba3bee0c482623dda4735fbef |