Compare commits

..

1 Commits

Author SHA1 Message Date
cuddle-please
06fc1904ae chore(release): 0.6.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-01-09 23:16:06 +00:00
2 changed files with 2 additions and 10 deletions

View File

@ -22,10 +22,6 @@ Co-committed-by: kjuulh <contact@kjuulh.io>
### Docs
- add simple docs
### Fixed
- multi line commit bodies should be prefixed with correct amount of spaces
this allows multi line commit messages to be displayed in a nice manner
### Other
- *(deps)* update rust crate serde to v1.0.217
- *(deps)* update rust crate serde to v1.0.216

View File

@ -245,9 +245,7 @@ fn default_changelog_body_config(release_link: Option<&str>) -> String {
{% endif -%}
{%- if commit.body -%}
{%- if commit.body | length > 0 -%}
{% for line in commit.body | trim | split(pat="\n") -%}
{% raw %} {% endraw %}{{ line | trim }}
{% endfor -%}
{% raw %} {% endraw %}{{ commit.body | trim }}
{% endif -%}
{% endif -%}
{% endfor -%}
@ -524,8 +522,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
let commits: Vec<&str> = vec![
"feat: some feature
some body
and another line",
some body",
"some random commit",
"fix: some fix",
"chore(scope): some chore",
@ -547,7 +544,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- some feature
some body
and another line
### Fixed
- some fix