From 27ffc530302a63dd6d84758660c19aec9cefb092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Tue, 6 Aug 2024 11:54:43 +0900 Subject: [PATCH] chore: Fix version bump command (#9381) --- tools/swc-releaser/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/swc-releaser/src/main.rs b/tools/swc-releaser/src/main.rs index 1170207e85a..099a08fd0a7 100644 --- a/tools/swc-releaser/src/main.rs +++ b/tools/swc-releaser/src/main.rs @@ -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"); }