Skip to content

Commit

Permalink
Update cliff.template.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbrig committed Mar 12, 2024
1 parent d55f7be commit aa55923
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions workflow-templates/cliff.template.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@

[changelog]

# Remove leading and trailing whitespace
# remove the leading and trailing whitespace from the template
trim = true

# Header
# header
header = """
# Changelog\n
> [!NOTE]\n
> All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).\n
> All notable changes to this project will be documented in this file. The format is based on
[Keep a Changelog](http://keepachangelog.com/) and this project adheres to
[Semantic Versioning](http://semver.org/).\n
"""

# Body (See https://tera.netlify.app/docs/#introduction)
# body - see https://tera.netlify.app/docs/#introduction
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
Expand All @@ -27,14 +28,14 @@ body = """
{% endfor %}\n
"""

# Footer
# footer
footer = """
***
*Changelog generated by [git-cliff](https://github.com/orhun/git-cliff).*
***
"""

# Commits
# commits
[git]
conventional_commits = true
filter_unconventional = true
Expand Down

0 comments on commit aa55923

Please sign in to comment.