A simple simple git version helper in python.
Project description
pyGitVersionHelper
A tiny library to help versioning management of git python projects
Because a good developer is a lazy developer and version management in CI/CD can be very time consuming.
Checkout Latest Documentation.
Features
- list tags
- get last tag
- get last version
- get current version (bumped)
- convert / switch from SemVer to PEP440 (both ways)
- automatic version format detection (SemVer by default)
- get commit message history
Options
- restrict to same branch
- both SemVer and PEP440 support
- custom output format
- configurable default bump type: major, minor, patch or dev
- configurable default bump strategy: post, pre-patch, pre-minor, pre-major
- ignore non-version tag
- force version format
Process
- full CI/CD developpment: Gitea / Jenkins + few python libs (pytlint, coverage, unittest, mkdocs)
- documentation generated mkdocs and self-hosted
- CI/CD on Linux, manually tested in Windows environnement
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
pygitversionhelper-1.3.4.tar.gz
(109.7 kB
view hashes)
Built Distribution
Close
Hashes for pygitversionhelper-1.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b224880d1c3d17d314f08d3315d9bbe6945c3d1dfb3adbf53ffd292a9515c6ac |
|
MD5 | adfb30db5c74ee39e39d7c7101a1d924 |
|
BLAKE2b-256 | 93e6ddfdb584033610f6aadd1e0d80d04abc74f49ffef32c81b90e60f3763c58 |