Skip to main content

Manage changelog and bump project version number using conventional commits from latest git tag.

Project description

ConvBump

Code style: black Latest Version BSD License

A simple tool that reads Git history and returns the next version and changelog based on conventional commits.

Attribution

This project is forked from Badabump created by Igor Davydenko.

Notice

This project is a heavily modified fork that solves our specific needs. We discourage anyone from using it and we will offer no support to anyone. Checkout Badabump for a more general tool.

Development

The application is written in Python and uses Poetry to configure the package and manage its dependencies.

Make sure you have Poetry CLI installed. Then you can run

$ poetry install

which will install the project dependencies (including dev dependencies) into a Python virtual environment managed by Poetry (alternatively, you can activate your own virtual environment beforehand and Poetry will use that).

Run tests with pytest

$ poetry run pytest

or

$ poetry shell
$ pytest

pytest will take configuration from pytest.ini file first (if present), then from pyproject.toml. Add any local configuration to pytest.ini. Configuration in pyproject.toml will be used in Teamcity. You can run your tests the same way as Teamcity to catch any errors

$ pytest -c pyproject.toml

Code formatting

The application is formatted using black and isort. You can either run black and isort manually or use prepared Poe task to format the whole project.

$ poetry run poe format_code

or

$ poetry shell
$ poe format_code

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

convbump-0.1.1.tar.gz (14.4 kB view hashes)

Uploaded Source

Built Distribution

convbump-0.1.1-py3-none-any.whl (18.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page