File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -437,15 +437,15 @@ Useful for determining the next version based on CI for non-production environme
437437
438438Allow the project version to be bumped even when there's no eligible version.
439439
440- !!! note "Example usage"
441- ```sh
442- # bump a minor version even when there's only bug fixes, documentation changes or even no commits
440+ Example usage:
443441
444- cz bump --increment MINOR --allow-no-commit
442+ ``` sh
443+ # Force to bump a minor version
444+ cz bump --increment MINOR --allow-no-commit
445445
446- # bump version to 2.0.0 even when there's no breaking changes or even no commits
447- cz bump --allow-no-commit 2.0.0
448- ```
446+ # bump version to 2.0.0 even when there's no breaking changes or even no commits
447+ cz bump --allow-no-commit 2.0.0
448+ ```
449449
450450!!! note "Default increment"
451451 The increment is overridden to ` PATCH ` if there is no increment detected or specified.
@@ -455,7 +455,6 @@ Allow the project version to be bumped even when there's no eligible version.
455455 ```sh
456456 # will bump to `1.0.1` if the current version is `1.0.0`.
457457 cz bump --allow-no-commit
458- ```
459458
460459 # bump version to 2.0.0 even when there's no breaking changes or even no commits
461460 cz bump --allow-no-commit 2.0.0
You can’t perform that action at this time.
0 commit comments