Skip to content

Commit

Permalink
chore(cd): override the changelog template
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Jun 20, 2021
1 parent c4df0fa commit 41053fb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,16 @@ jobs:
id: git-cliff
with:
config: cliff.toml
args: -vv --latest --strip header
args: -vv --latest --strip header --body $template
env:
OUTPUT: CHANGES.md
template: >
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- {{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}
- name: Set release body
id: release
shell: bash
Expand Down

0 comments on commit 41053fb

Please sign in to comment.