Compare commits

...

2 Commits

Author SHA1 Message Date
cuddle-please
194bba0d64 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:20:51 +00:00
b059201aea
fix: multi line commit bodies should be prefixed with correct amount of spaces
All checks were successful
continuous-integration/drone/push Build is passing
this allows multi line commit messages to be displayed in a nice manner
2025-01-10 00:20:12 +01:00
3 changed files with 37 additions and 3 deletions

View File

@ -6,6 +6,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.6.0] - 2025-01-09
### Added
- enable commit bodies in changelog and fixes general warnings and updates (#49)
Allows commit bodies to show up in release notes, this is something I'd prefer as my releases are usually short, and I'd like to see these as I don't use pull requests as often, and often miss the context, as I don't link to commits currently.
Also fixes a lot of warnings and reintroduces failing tests, still not perfect, but better than before.
Co-authored-by: kjuulh <contact@kjuulh.io>
Co-committed-by: kjuulh <contact@kjuulh.io>
- removed tests for now
- update deps
- update
### 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
- *(deps)* update rust crate tracing-subscriber to v0.3.19
- *(deps)* update rust crate tracing to v0.1.41
- *(deps)* update rust crate serde to v1.0.215
- *(deps)* update rust crate serde to v1.0.214
- *(deps)* update rust crate serde to v1.0.213
- *(deps)* update rust crate serde to v1.0.210
## [0.5.0] - 2024-04-09
### Added

View File

@ -34,4 +34,4 @@ tracing-test = "0.2"
pretty_assertions = "1.4"
[workspace.package]
version = "0.5.0"
version = "0.6.0"

View File

@ -245,7 +245,9 @@ fn default_changelog_body_config(release_link: Option<&str>) -> String {
{% endif -%}
{%- if commit.body -%}
{%- 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 -%}
{% endfor -%}
@ -522,7 +524,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
let commits: Vec<&str> = vec![
"feat: some feature
some body",
some body
and another line",
"some random commit",
"fix: some fix",
"chore(scope): some chore",
@ -544,6 +547,7 @@ 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