A CLI tool that infers a next version number for Git repos.
A CLI tool that infers a next version number for Git repos. It does its magic by looking at the commit messages of commits made since the last tag that had a semver in it. For this to work properly, your commits should following the Conventional Commits spec.
Requires Git 2.0+.
To use the tool:
pip install --upgrade chronos-cli
- Change into a Git repo.
To bootstrap a development environment (after you've cloned the repo and changed into it):
pip install --upgrade pipenv
pipenv sync --dev
Docs are hosted at https://chronos-cli.readthedocs.io.
This project follows PEP8.
pytestwill run unit tests in this repo.
flake8will lint the code.
The pipeline's Ansible playbook can be run on your *nix workstation too:
ansible-playbook ansible/pipeline.yml --tags build
Commits should follow the Conventional Commits spec.
- Thanks to Eric Poitras for asking me to write an earlier version of what would become this tool. This was really his idea.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size chronos_cli-0.2.12-py3-none-any.whl (7.8 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size chronos-cli-0.2.12.tar.gz (6.5 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for chronos_cli-0.2.12-py3-none-any.whl