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
3 changed files with 6 additions and 16 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,3 @@
target/ target/
.cuddle/ .cuddle/
.env .env
crates/cuddle-please/testdata/git-found/

View File

@@ -9,13 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.6.0] - 2025-01-09 ## [0.6.0] - 2025-01-09
### Added ### Added
- ignore git found
- enable commit bodies in changelog and fixes general warnings and updates (#49) - 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. 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. 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-authored-by: kjuulh <contact@kjuulh.io>
Co-committed-by: kjuulh <contact@kjuulh.io> Co-committed-by: kjuulh <contact@kjuulh.io>
- removed tests for now - removed tests for now
- update deps - update deps
- update - update
@@ -23,10 +22,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### 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

View File

@@ -245,9 +245,7 @@ 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 -%}
{% for line in commit.body | trim | split(pat="\n") -%} {% raw %} {% endraw %}{{ commit.body | trim }}
{% raw %} {% endraw %}{{ line | trim }}
{% endfor -%}
{% endif -%} {% endif -%}
{% endif -%} {% endif -%}
{% endfor -%} {% endfor -%}
@@ -524,8 +522,7 @@ 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",
@@ -547,7 +544,6 @@ 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