Skip to content

Commit

Permalink
Merge pull request #176 from callowayproject/175-docs-format-fix
Browse files Browse the repository at this point in the history
Fixed code block in the README
  • Loading branch information
coordt authored Apr 22, 2024
2 parents 987b557 + bd07407 commit c3d89a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 'v0.3.5'
rev: 'v0.3.7'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
exclude: test.*
- repo: https://github.com/psf/black
rev: 24.3.0
rev: 24.4.0
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ The `distance_to_latest_tag` is a special value that is replaced with the number
Now when you run `bump-my-version show-bump`, you can see the new pre-release versioning path.

```console title="Showing the new versioning path with pre_n automation"

$ bump-my-version show-bump
0.1.0 ── bump ─┬─ major ─ 1.0.0-dev0
├─ minor ─ 0.2.0-dev0
Expand All @@ -211,17 +210,17 @@ $ bump-my-version show-bump 1.0.0-rc0
├─ minor ─ 1.1.0-dev0
├─ patch ─ 1.0.1-dev0
╰─ pre_l ─ 1.0.0
```
```

The `pre_n` path is now missing because it is automated.

The full development and release path now is:

- `1.0.0`
- `bump patch``1.0.1-dev0`
- each commit will increase → `1.0.1-dev1`
- each commit will increase → `1.0.1-dev1`
- `bump pre_l``1.0.1-rc0`
- each commit will increase → `1.0.1-rc1`
- each commit will increase → `1.0.1-rc1`
- `bump pre_l``1.0.1`

1. You must decide on the next version before you start developing.
Expand Down

0 comments on commit c3d89a3

Please sign in to comment.