Skip to content

Commit

Permalink
chore: add unreleased section to cliff.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Jan 24, 2024
1 parent 224a6bd commit d6c266a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}](https://github.com/foundry-rs/block-explorers/releases/tag/v{{ version | trim_start_matches(pat="v") }}) - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [Unreleased](https://github.com/foundry-rs/block-explorers/compare/{{ previous.version }}...HEAD)
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | title }}
Expand All @@ -29,7 +31,7 @@ footer = "<!-- generated by git-cliff -->"
conventional_commits = true
filter_unconventional = false
commit_preprocessors = [
{ pattern = '#(\d+)', replace = "[#$1](https://github.com/foundry-rs/compilers/issues/$1)" },
{ pattern = '#(\d+)', replace = "[#$1](https://github.com/foundry-rs/block-explorers/issues/$1)" },
]
commit_parsers = [
{ message = "^feat", group = "Features" },
Expand Down

0 comments on commit d6c266a

Please sign in to comment.