Skip to content

Commit

Permalink
Merge pull request #860 from epage/ws
Browse files Browse the repository at this point in the history
fix(commit): Use correct default commit message with implicit consoli…
  • Loading branch information
epage authored Jan 31, 2025
2 parents 81ef22f + d101baa commit a146e12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/steps/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl ReleaseStep {
// When evaluating dependency ordering, we need to consider optional dependencies
.features(cargo_metadata::CargoOpt::AllFeatures)
.exec()?;
let ws_config = config::load_workspace_config(&self.config, &ws_meta)?;
let mut ws_config = config::load_workspace_config(&self.config, &ws_meta)?;
let mut pkgs = plan::load(&self.config, &ws_meta)?;

for pkg in pkgs.values_mut() {
Expand Down Expand Up @@ -193,6 +193,7 @@ impl ReleaseStep {
let mut failed = false;

let consolidate_commits = super::consolidate_commits(&selected_pkgs, &excluded_pkgs)?;
ws_config.consolidate_commits = Some(consolidate_commits);

// STEP 0: Help the user make the right decisions.
failed |= !super::verify_git_is_clean(
Expand Down

0 comments on commit a146e12

Please sign in to comment.