Easily create releases in git
Project description
git-release
Easily generate tag-based releases. Uses the powerful git-cliff
to generate changelogs. These can then be leveraged via github actions
Installation
# Install dependencies
cargo install git-cliff
# Install git-release
pip install git-release
Usage
usage: git-release [-h] [--comment COMMENT] [--remote REMOTE] [-v] [--semver SEMVER] [--major | --minor | --patch | --no-inc]
optional arguments:
-h, --help show this help message and exit
--comment COMMENT, -c COMMENT
A comment to describe the release. Synonymous to a tag message. Defaults to the generated changelog.
--remote REMOTE, -r REMOTE
The repository remote (defaults to 'origin')
-v, --verbose NOT IMPLEMENTED YET
Semantic Version:
Options to manipulate the version. If --semver is not passed, git-release uses the most recent tag.
--semver SEMVER Custom semantic version. Use --no-inc to use as is.
--major, -M Increment the major version by 1 (resets minor and patch)
--minor, -m Increment the minor version by 1 (resets patch)
--patch, -P Increment the patch version by 1 (default behaviour)
--no-inc Don't increment anything
Contributing
Ensure that pre-commit
is installed and working. Otherwise the pre-commit CI will most likely fail.
# Install and setup pre-commit
pip install pre-commit
pre-commit install --install-hooks
Repos that have used git-release
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
git-release-0.1.0.tar.gz
(25.2 kB
view hashes)
Built Distribution
Close
Hashes for git_release-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 068527345cbf68bc6df435ad978e45cabc3a5a170b37d9978409ebe389cfed31 |
|
MD5 | 1f16435e9d46f7a63d25cb141889c9dd |
|
BLAKE2b-256 | 9560ab5cbdfcc57db6058f556dbb96c7cb160c377eb6016043f60ff2f0ee536c |