Skip to content

Yet another tool for bumping version number and updating changelog

License

Notifications You must be signed in to change notification settings

actris-cloudnet/release-version

Repository files navigation

Release version

Test PyPI version

Yet another tool for bumping version number and updating changelog.

Usage

Install by running:

pip install release-version

Add following in pyproject.toml file in the root directory of your project:

[tool.release-version]
filename = "pyproject.toml"
pattern = "version = \"(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)\""
changelog = "CHANGELOG.md" # optional

Release new versions by running:

release-version patch
release-version minor
release-version major

License

MIT