From 83cefe4326c307a0b69a330932c4c44e3ddb334a Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Thu, 23 Sep 2021 09:44:41 +0200 Subject: [PATCH] Fix handling of `--skip-commit` --- buildutils/src/release-bump.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildutils/src/release-bump.ts b/buildutils/src/release-bump.ts index 35bd1068e..726361039 100644 --- a/buildutils/src/release-bump.ts +++ b/buildutils/src/release-bump.ts @@ -39,7 +39,7 @@ commander if (opts.force) { cmd += ' --force'; } - if (commit) { + if (!commit) { cmd += ' --skip-commit'; } utils.run(cmd);