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
Metadata
Release files for git-release 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| git-release-0.2.1.tar.gz | 25.8 kB | Without provenance | Details for git-release-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| git_release-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for git_release-0.2.1-py3-none-any.whl |
Total release size: 44.3 kB
Release files / git-release-0.2.1.tar.gz
| Download URL | git-release-0.2.1.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
226d439d985f405757ab90d76a64e2eb261713ab7a97bbf173a6c7ee11b9e57d
|
|
BLAKE2b-256 checksum How to use checksums |
2f018521ec84df990932e307f512701108af7e846cb791e731a83395c5dbdf0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / git_release-0.2.1-py3-none-any.whl
| Download URL | git_release-0.2.1-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5824c68eed60f140998e9bb9dcc2f679c54bdd57c4dda6ac41e1452eafad13ad
|
|
BLAKE2b-256 checksum How to use checksums |
df2db219815e2cb382e35afc6c9dbf3fcbfef883a89d6db75be7e56cdc1258c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for git-release 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.