Skip to content

Commit d7cf81c

Browse files
committed
docs(bump): fix broken documentation format
1 parent 3cb9b2c commit d7cf81c

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/commands/bump.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -437,15 +437,15 @@ Useful for determining the next version based on CI for non-production environme
437437

438438
Allow 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

0 commit comments

Comments
 (0)