Skip to content

Commit

Permalink
chore: Fix version bump command (#9381)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Aug 6, 2024
1 parent 64d3554 commit 27ffc53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/swc-releaser/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fn bump_crate(pkg_name: &str, change_type: Option<&ChangeType>, dry_run: bool) -
let mut cmd = Command::new("cargo");
cmd.arg("mono").arg("bump").arg(pkg_name);

if let Some(ChangeType::Major) = change_type {
if let Some(ChangeType::Minor | ChangeType::Major) = change_type {
cmd.arg("--breaking");
}

Expand Down

0 comments on commit 27ffc53

Please sign in to comment.