Manage your project's version numbers.
Project description
CI/CD | |
Package | |
Meta | |
semvergit
Manage your project's version numbers.
Semantic Versioning
semvergit is a CLI tool to manage your project's version numbers. It uses Semantic Versioning to bump the version number. The supported bump types are:
major
minor
patch
prerelease
Workflow
- Use the latest git tag to determine the current version number.
- Bump the version number
- Create a new git tag
- Push the tag to the remote
Please keep in mind it is designed to be used in a CI/CD pipeline (but not limited to...)
How to use
Simple install using
pip install semvergit
Then you can use it in your project like this:
semvergit -t patch -d -v -am
(to bump the patch version)
This will:
- create a tag
- push it to the remote
- commit all changes
Please cehckout semvergit --help
for more info.
Usage: semvergit [OPTIONS] COMMAND [ARGS]...
CLI for semvergit.
Options:
--version Show the version and exit.
-d, --dry_run Dry run
-v, --verbose Verbose [0<=x<=2]
-t, --bump_type TEXT Bump Type ['major', 'minor', 'patch', 'prerelease']
-m, --message TEXT Commit message
-am, --auto_message Auto commit message
--help Show this message and exit.
Development
Please see CONTRIBUTING.md
License
This project is published under the MIT license.
If you do find it useful, please consider contributing your changes back upstream.
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 semvergit-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16982016f5bb85486e96997e1fa2426539758e2c0f3bd562b5d76e5c0d29d0e5 |
|
MD5 | 76bc7c0b984f8c1539d56e4dca3eb654 |
|
BLAKE2b-256 | aaa4363f97be563283478f5299a64ac9932c77af75121529e01be87620ec34df |