Custom releaser hooks for ONCE project based on zest.releaser
Project description
rber474.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 rber474.releaser
Contributors
Put your name here, you deserve it!
?
Contribute
Issue Tracker: https://github.com/rber474.releaser/issues
Source Code: https://github.com/rber474.releaser
License
The project is licensed under the GPLv2.
Contributors
Rafael Bermúdez Horcajada, rber474@gmail.com
Changelog
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
File details
Details for the file rber474_releaser-1.0a10.tar.gz
.
File metadata
- Download URL: rber474_releaser-1.0a10.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e44cd28ef89c94120eebd9c3175182693218e79172f1ecc5fe6c10eb22e2479d |
|
MD5 | 3571262b2f63cfe54c80fad77c2b65cf |
|
BLAKE2b-256 | f7e4c8041bb9276209acc83a168f23d2bd574dd5b181ccfb599870c0b923928d |
File details
Details for the file rber474.releaser-1.0a10-py3-none-any.whl
.
File metadata
- Download URL: rber474.releaser-1.0a10-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 297fbdcc408117751fcebbc0621b31bcd4be049bd9f8da96878e6c634c3439f9 |
|
MD5 | 9927e5c99c2408dfcee17baf66c4f116 |
|
BLAKE2b-256 | 94d9f5aebd43e9779ddc69f515c4abf824766c7400cab76e6902758b6673ae86 |