https://github.com/iwishiwasaneagle/git-release
Easily generate releases using git-cliff and github actions
https://github.com/iwishiwasaneagle/git-release
automate git git-plugin releases
Last synced: 2 months ago
JSON representation
Easily generate releases using git-cliff and github actions
- Host: GitHub
- URL: https://github.com/iwishiwasaneagle/git-release
- Owner: iwishiwasaneagle
- License: gpl-3.0
- Created: 2022-04-20T08:54:45.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-08-11T20:49:07.000Z (8 months ago)
- Last Synced: 2025-10-29T18:42:17.605Z (5 months ago)
- Topics: automate, git, git-plugin, releases
- Language: Python
- Homepage:
- Size: 161 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# git-release
[](https://results.pre-commit.ci/latest/github/iwishiwasaneagle/git-release/master)
[](https://github.com/iwishiwasaneagle/git-release/actions/workflows/CI.yml)
[](https://github.com/iwishiwasaneagle/git-release/blob/master/LICENSE.txt)

[](https://pypi.org/project/git-release/)
[](https://pypi.org/project/git-release/)
[](https://codecov.io/gh/iwishiwasaneagle/git-release)
Easily generate tag-based releases. Uses the powerful [`git-cliff`](https://github.com/orhun/git-cliff) to generate changelogs. These can then be leveraged via [github actions](https://github.com/iwishiwasaneagle/git-release/blob/master/.github/workflows/CD.yml)
## Installation
```bash
# Install dependencies
cargo install git-cliff
# Install git-release
pip install git-release
```
## Usage
```txt
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.
```bash
# Install and setup pre-commit
pip install pre-commit
pre-commit install --install-hooks
```
## Repos that have used git-release
- [iwishiwasaneagle/jsim](https://github.com/iwishiwasaneagle/jsim)