From 9b09da8f93d50886f60a63a01ae10a1336ac766e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 21:02:30 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.3.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.5...v0.3.7) - [github.com/psf/black: 24.3.0 → 24.4.0](https://github.com/psf/black/compare/24.3.0...24.4.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2e8093b2..9a29ed2e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 From b4ff9f31557cf39ab3fdf4199c4fbddd03a78bbd Mon Sep 17 00:00:00 2001 From: Corey Oordt Date: Mon, 22 Apr 2024 07:14:50 -0500 Subject: [PATCH 2/2] Fixed code block in the README --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0016b5a1..a0b3a20c 100644 --- a/README.md +++ b/README.md @@ -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 @@ -211,7 +210,7 @@ $ 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. @@ -219,9 +218,9 @@ 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.