From 2c36d3fe8170be66b9120ad621e0c702d0e21687 Mon Sep 17 00:00:00 2001 From: mit-d Date: Sat, 21 Feb 2026 13:31:58 -0700 Subject: [PATCH] chore: have bump-my-version update README.md --- CHANGELOG.md | 1 + README.md | 2 +- pyproject.toml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5c4043..7123c29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - `CONTRIBUTING.md` guide - `SECURITY.md` with private vulnerability reporting instructions - Issue templates for bug reports and feature requests +- Make `bump-my-version` handle README.md version ## 0.3.1 - 2026-02-21 diff --git a/README.md b/README.md index 1cbc1de..17f0052 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Catches smart quotes, em dashes, fancy spaces, dangerous invisible characters ```yaml repos: - repo: https://github.com/mit-d/check-unicode - rev: v0.1.0 + rev: v0.3.1 hooks: - id: check-unicode # or for auto-fix: diff --git a/pyproject.toml b/pyproject.toml index 60b4ead..2564460 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,6 +68,7 @@ message = "release: v{new_version}" files = [ { filename = "src/check_unicode/__init__.py" }, { filename = "CHANGELOG.md", search = "## Unreleased", replace = "## {new_version} - {now:%Y-%m-%d}" }, + { filename = "README.md", search = "rev: v{current_version}", replace = "rev: v{new_version}" }, ] [tool.mypy]