Skip to content

Commit

Permalink
🐛 fix changelog heading levels.
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdbcm committed Jul 14, 2024
1 parent b7427a0 commit 6e55aa2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions templates/.parsed_commit_heading.j2
Original file line number Diff line number Diff line change
Expand Up @@ -70,43 +70,43 @@
{%- filter replace(':thread:', '🧵') %}
{%- filter replace(':safety_vest:', '🦺') %}
{%- if type_ in [':bug:', 'BUG', 'fix'] %}
#### :bug: Fixed Bugs
### :bug: Fixed Bugs
{%- elif type_ in [':memo:', 'DOC', 'docs'] %}
#### :memo: Updated Documentation
### :memo: Updated Documentation
{%- elif type_ in [':sparkles:', 'FEAT', 'feat'] %}
#### :sparkles: Implemented Features
### :sparkles: Implemented Features
{%- elif type_ in [':zap:', 'BENCH', 'perf'] %}
#### :sparkles: Improved Performance
### :sparkles: Improved Performance
{%- elif type_ in [':construction_worker:', 'BLD', 'ci'] %}
#### :construction_worker: Updated Continuous Integration
### :construction_worker: Updated Continuous Integration
{%- elif type_ in [':ambulance:'] %}
#### :ambulance: Hotfixed Issues
### :ambulance: Hotfixed Issues
{%- elif type_ in [':fire:'] %}
#### :fire: Deleted Code or Files
### :fire: Deleted Code or Files
{%- elif type_ in [':pencil2:'] %}
#### :pencil2: Corrected Typos
### :pencil2: Corrected Typos
{%- elif type_ in [':pushpin:'] %}
#### :pushpin: Pinned Dependencies
### :pushpin: Pinned Dependencies
{%- elif type_ in [':arrow_up:'] %}
#### :arrow_up: Upgraded Dependencies
### :arrow_up: Upgraded Dependencies
{%- elif type_ in [':arrow_down:'] %}
#### :arrow_down: Downgraded Dependencies
### :arrow_down: Downgraded Dependencies
{%- elif type_ in [':heavy_plus_sign:'] %}
#### :heavy_plus_sign: Added Dependencies
### :heavy_plus_sign: Added Dependencies
{%- elif type_ in [':heavy_minus_sign:'] %}
#### :heavy_minus_sign: Removed Dependencies
### :heavy_minus_sign: Removed Dependencies
{%- elif type_ in [':children_crossing:'] %}
#### :children_crossing: Improved Usability
### :children_crossing: Improved Usability
{%- elif type_ in [':rotating_light:'] %}
#### :rotating_light: Ran Linters
### :rotating_light: Ran Linters
{%- elif type_ in [':hammer:'] %}
#### :hammer: Updated Scripts
### :hammer: Updated Scripts
{%- elif type_ in [':wrench:'] %}
#### :hammer: Updated Configuration
### :hammer: Updated Configuration
{%- elif type_ in [':wastebasket:'] %}
#### :wastebasket: Deprecated Code
### :wastebasket: Deprecated Code
{%- else %}
#### {{ type_ | capitalize }}
### {{ type_ | capitalize }}
{% endif %}
{%- endfilter %}
{%- endfilter %}
Expand Down
2 changes: 1 addition & 1 deletion templates/CHANGELOG.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
{%- set v.major = _v[0] %}
{%- set v.minor = _v[1] %}
{%- if v.major|int > 0 %}
### {{ version.as_tag() }} ({{ release.tagged_date.strftime("%Y-%m-%d") }})
## {{ version.as_tag() }} ({{ release.tagged_date.strftime("%Y-%m-%d") }})
{% for type_, commits in release["elements"] | dictsort %}
{% include '.parsed_commit_heading.j2' %}
{% for commit in commits %}{% if type_ != "unknown" %}
Expand Down

0 comments on commit 6e55aa2

Please sign in to comment.