Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(commit): Use correct default commit message with implicit consoli… #860

Merged
merged 1 commit into from
Jan 31, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading