feat: enable commit bodies in changelog and fixes general warnings and updates
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
use std::path::Path;
|
||||
|
||||
use cuddle_please_actions::Actions;
|
||||
use cuddle_please_frontend::PleaseConfig;
|
||||
|
||||
@@ -128,6 +130,7 @@ impl ReleaseCommandHandler {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn create_pull_request(
|
||||
&self,
|
||||
changelog_placement: std::path::PathBuf,
|
||||
@@ -225,7 +228,7 @@ impl ReleaseCommandHandler {
|
||||
fn compose_changelog(
|
||||
commit_strs: &Vec<String>,
|
||||
next_version: &Version,
|
||||
source: &std::path::PathBuf,
|
||||
source: &Path,
|
||||
) -> Result<(std::path::PathBuf, String, Option<String>), anyhow::Error> {
|
||||
let builder = ChangeLogBuilder::new(commit_strs, next_version.to_string()).build();
|
||||
let changelog_placement = source.join("CHANGELOG.md");
|
||||
|
Reference in New Issue
Block a user