From b55234609030a7f9443bfb8a18a587a091d274e6 Mon Sep 17 00:00:00 2001 From: Markus Schulte Date: Fri, 6 Sep 2024 16:41:10 +0200 Subject: [PATCH] fix(version): Renamed 'skip-bump-only-release' CLI option to plural (#925) * fix(version): Renamed 'skip-bump-only-release' CLI argument to 'skip-bump-only-releases' while remaining backwards compatible Renamed 'skip-bump-only-release' to 'skip-bump-only-releases' for consistency. Added alias 'skip-bump-only-release' for backwards compatibility and refined the description for clarity. Fixes #924 --- packages/cli/src/cli-commands/cli-version-commands.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/cli-commands/cli-version-commands.ts b/packages/cli/src/cli-commands/cli-version-commands.ts index 342f3c22..cbf3b3a4 100644 --- a/packages/cli/src/cli-commands/cli-version-commands.ts +++ b/packages/cli/src/cli-commands/cli-version-commands.ts @@ -281,8 +281,8 @@ export default { describe: 'Runs `npm install --package-lock-only` or equivalent depending on the package manager defined in `npmClient`.', type: 'boolean', }, - 'skip-bump-only-release': { - describe: 'do we want to skip creating a release (github/gitlab) when the version is a "version bump only"?', + 'skip-bump-only-releases': { + describe: 'Skip release(s) creation when the version is a "version bump only"?', type: 'boolean', }, 'premajor-version-bump': {