Compare commits
2 Commits
06fc1904ae
...
194bba0d64
Author | SHA1 | Date | |
---|---|---|---|
|
194bba0d64 | ||
b059201aea |
@ -22,6 +22,10 @@ Co-committed-by: kjuulh <contact@kjuulh.io>
|
|||||||
### Docs
|
### Docs
|
||||||
- add simple 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
|
### Other
|
||||||
- *(deps)* update rust crate serde to v1.0.217
|
- *(deps)* update rust crate serde to v1.0.217
|
||||||
- *(deps)* update rust crate serde to v1.0.216
|
- *(deps)* update rust crate serde to v1.0.216
|
||||||
|
@ -245,7 +245,9 @@ fn default_changelog_body_config(release_link: Option<&str>) -> String {
|
|||||||
{% endif -%}
|
{% endif -%}
|
||||||
{%- if commit.body -%}
|
{%- if commit.body -%}
|
||||||
{%- if commit.body | length > 0 -%}
|
{%- if commit.body | length > 0 -%}
|
||||||
{% raw %} {% endraw %}{{ commit.body | trim }}
|
{% for line in commit.body | trim | split(pat="\n") -%}
|
||||||
|
{% raw %} {% endraw %}{{ line | trim }}
|
||||||
|
{% endfor -%}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
@ -522,7 +524,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
let commits: Vec<&str> = vec![
|
let commits: Vec<&str> = vec![
|
||||||
"feat: some feature
|
"feat: some feature
|
||||||
|
|
||||||
some body",
|
some body
|
||||||
|
and another line",
|
||||||
"some random commit",
|
"some random commit",
|
||||||
"fix: some fix",
|
"fix: some fix",
|
||||||
"chore(scope): some chore",
|
"chore(scope): some chore",
|
||||||
@ -544,6 +547,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Added
|
### Added
|
||||||
- some feature
|
- some feature
|
||||||
some body
|
some body
|
||||||
|
and another line
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- some fix
|
- some fix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user