Custom releaser hooks for ONCE project based on zest.releaser
Project description
once.releaser
Custom releaser hooks for JIRA project based on zest.releaser and cs.zestreleaser.changelog. This hook extract the commit messages from the last release tag to the current tag and create the towncrier news fragments, based on the JIRA issue and the towncrier type.
Currently it only supports GIT VCS logs.
The commit messages must be in the following format:
<optional prefix> <issue_name>-<issue_number> <towncrier type> <message> [<author>]
Author will be extracted from the git history.
Examples
The following commit messages are valid:
Revert WEBAGL-1234 feature Add new feature
Add WEBAGL-1234 feature new feature
WEBAGL-1235 bugfix Fix AttributeError RequestContainer object has no attribute getClientForURL
Fragments files will be created in the following format:
news/WEBAGL-1234.feature
Add new feature [Rafael Bermúdez Horcajada <myemail@email.com>] Revert new feature [Rafael Bermúdez Horcajada <myemail@email.com>]
news/WEBAGL-1235.bugfix
Fix AttributeError RequestContainer object has no attribute getClientForURL [Rafael Bermúdez Horcajada <myemail@email.com>]
Installation
Using pip:
$ pip install once.releaser
Contributors
Put your name here, you deserve it!
?
Contribute
Issue Tracker: https://github.com/once.releaser/issues
Source Code: https://github.com/once.releaser
License
The project is licensed under the GPLv2.
Changelog
1.1 (2025-04-11)
Bug fixes:
Fix dependency name (internal)
1.0 (2025-04-11)
No significant changes.
1.0a10 (2024-09-30)
Bug fixes:
Extract commits ignoring merged [Bermúdez Horcajada, Rafael] (#1)
1.0a9 (2024-09-24)
Bug fixes:
Fix duplicate entries
1.0a8 (2024-09-20)
New features:
Git add after all files are updated.
1.0a7 (2024-09-20)
Bug fixes:
Ensure the newsfile is added to the git index to avoid pre-commit hooks to fail
1.0a6 (2024-09-20)
Bug fixes:
Don’t assign encoding to file
1.0a5 (2024-09-20)
New features:
Execute at hook zest.releaser.prereleaser.before
1.0a4 (2024-09-20)
Bug fixes:
Fix regex pattern to extract prefix properly [Rafael Bermúdez Horcajada <rber474@gmail.com>]
1.0a3 (2024-09-19)
Bug fixes:
Fix release workfloww [Rafael Bermúdez Horcajada <rber474@gmail.com>]
1.0a2 (2024-09-19)
New features:
Switch to OpenID Connect [Rafael Bermúdez Horcajada <rber474@gmail.com>]
1.0a1 (unreleased)
Initial release. [rber474]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file once_releaser-1.1.tar.gz.
File metadata
- Download URL: once_releaser-1.1.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a80ec64d4eaa156c9d848ede4741118819cb2c7f0f215627bccbbe703978693
|
|
| MD5 |
9a5def23655974c4ada302915d5c9614
|
|
| BLAKE2b-256 |
9009f9184ab2cfb279152aaa609afddd2ffa7d038cef9a9c06f2bc39cf8e5a2d
|
Provenance
The following attestation bundles were made for once_releaser-1.1.tar.gz:
Publisher:
python-publish.yml on rber474/once.releaser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
once_releaser-1.1.tar.gz -
Subject digest:
6a80ec64d4eaa156c9d848ede4741118819cb2c7f0f215627bccbbe703978693 - Sigstore transparency entry: 195393818
- Sigstore integration time:
-
Permalink:
rber474/once.releaser@de79c61999830c277e0a4f24cd73ad95f7426684 -
Branch / Tag:
refs/tags/1.1 - Owner: https://github.com/rber474
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@de79c61999830c277e0a4f24cd73ad95f7426684 -
Trigger Event:
release
-
Statement type:
File details
Details for the file once_releaser-1.1-py3-none-any.whl.
File metadata
- Download URL: once_releaser-1.1-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e88c1639ec53a4772fca73776c72ed349d72b3efc2ab5be0190af935f915345
|
|
| MD5 |
3c13a67829635c0fba2cbde0fd71f32d
|
|
| BLAKE2b-256 |
398454ec3dc66b979e44d9f3ab89a32a5dc54368bd6dfcff83c490aa4c5cddc4
|
Provenance
The following attestation bundles were made for once_releaser-1.1-py3-none-any.whl:
Publisher:
python-publish.yml on rber474/once.releaser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
once_releaser-1.1-py3-none-any.whl -
Subject digest:
0e88c1639ec53a4772fca73776c72ed349d72b3efc2ab5be0190af935f915345 - Sigstore transparency entry: 195393819
- Sigstore integration time:
-
Permalink:
rber474/once.releaser@de79c61999830c277e0a4f24cd73ad95f7426684 -
Branch / Tag:
refs/tags/1.1 - Owner: https://github.com/rber474
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@de79c61999830c277e0a4f24cd73ad95f7426684 -
Trigger Event:
release
-
Statement type: