5 Commits

Author SHA1 Message Date
4134c4dd7c chore(deps): update rust crate serde to v1.0.218
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-02-21 01:32:47 +00:00
67a0f5d1fc chore(release): v0.6.0 (#39)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(release): 0.6.0

Co-authored-by: cuddle-please <bot@cuddle.sh>
Reviewed-on: https://git.front.kjuulh.io/kjuulh/cuddle-please/pulls/39
2025-01-10 00:29:53 +01:00
17878cace3 feat: ignore git found
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
2025-01-10 00:28:08 +01: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
e7fdc1813a docs: add simple docs
All checks were successful
continuous-integration/drone/push Build is passing
2025-01-10 00:14:06 +01:00
5 changed files with 27 additions and 9 deletions

1
.gitignore vendored
View File

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

View File

@@ -9,11 +9,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.6.0] - 2025-01-09
### Added
- ignore git found
- 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

8
Cargo.lock generated
View File

@@ -2525,18 +2525,18 @@ checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba"
[[package]]
name = "serde"
version = "1.0.217"
version = "1.0.218"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70"
checksum = "e8dfc9d19bdbf6d17e22319da49161d5d0108e4188e8b680aef6299eed22df60"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.217"
version = "1.0.218"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0"
checksum = "f09503e191f4e797cb8aac08e9a4a4695c5edf6a2e70e376d961ddd5c969f82b"
dependencies = [
"proc-macro2",
"quote",

View File

@@ -40,12 +40,12 @@ See docs for more information about installation and some such
- [x] Fix: 0.0.0 -> **v**0.0.0
- [ ] Add release strategies
- [ ] Add reporter for PR and Repositories
- [x] Add reporter for PR and Repositories
- [ ] Add inquire for missing values when needed (when not running in ci or have a proper tty)
- [ ] Break down cuddle-please-misc
- [x] Break down cuddle-please-misc
- [ ] ci(release): Add cuddle-please release artifacts for the different os and so on.
### 0.x Milestone
- [ ] Add github support
- [ ] Add custom strategies
- [ ] Add more granular tests
- [x] Add more granular tests

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