-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(changelog): add commitizen template
This change adds a commitizen CHANGELOG template that includes a link to the detailed GitHub release notes.
- Loading branch information
1 parent
a8e6ca9
commit 84e4b08
Showing
3 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{# Jinja2 changelog template used by Commitizen #} | ||
{% for entry in tree %} | ||
|
||
## {{ entry.version }}{% if entry.date %} ({{ entry.date }}){% endif %} | ||
|
||
{# Sole difference from default template is link to the detailed GitHub release notes #} | ||
[Detailed Release Notes](https://github.com/cytomining/pycytominer/releases/tag/{{ entry.version }}) | ||
|
||
{% for change_key, changes in entry.changes.items() %} | ||
|
||
{% if change_key %} | ||
### {{ change_key }} | ||
{% endif %} | ||
|
||
{% for change in changes %} | ||
{% if change.scope %} | ||
- **{{ change.scope }}**: {{ change.message }} | ||
{% elif change.message %} | ||
- {{ change.message }} | ||
{% endif %} | ||
{% endfor %} | ||
{% endfor %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters