Thinly scoped and opinionated tool that computes a version number from git tags and trailers
Project description
Thinly scoped and opinionated tool that computes a version number from git tags and trailers
Python3.8+ CLI that computes a version number MAJOR.MINOR.PATCH
based on git
tags and commit trailers.
Every project starts at 0.0.0
.
By default, every commit increments the RELEASE
portion of the version.
In any commit, one may include a trailer of the form::
ci-version-bump: {patch,minor,major}
The version number will be incremented accordingly.
As an example:
flowchart LR
v0(fa:fa-tag 0.0.0)
v1(fa:fa-tag 0.0.1)
v2(fa:fa-tag 0.0.2)
v3(fa:fa-tag 0.1.0)
v4(fa:fa-tag 0.1.1)
v5(fa:fa-tag 1.0.0)
v6(fa:fa-tag 1.0.1)
v0 -->|fa:fa-message patch| v1
v1 -->|fa:fa-message patch| v2
v2 -->|fa:fa-message minor| v3
v3 -->|fa:fa-message patch| v4
v4 -->|fa:fa-message major| v5
v5 -->|fa:fa-message patch| v6
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
Close
Hashes for simple-git-versioning-0.0.27.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 624206739ffed2c7ae7bf9879c2ac8b97ffa8444b1ba1cf1c70e16ca347472a6 |
|
MD5 | 14de91d8036ea3d5126b2bc96c39b25d |
|
BLAKE2b-256 | 7c2ee2d6ef9a1d06a8202d20966e1985f641ae73983d34637c116b57b3978776 |
Close
Hashes for simple_git_versioning-0.0.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d0535efac545d9da5fda87bb2e7dcc9f3dda82caaa397e761459f3c333eb001 |
|
MD5 | ee7e019176fc36e182519a3b547d2811 |
|
BLAKE2b-256 | 82cbc3cd6af74ecd5d9f2781e9e6fe8eb40ffec38a85ef288c39681430b55a0b |