From ee69ec71fdfa04d88414799c628b2a1bdf87ee60 Mon Sep 17 00:00:00 2001 From: Etienne Wodey Date: Wed, 20 Nov 2024 12:36:28 +0100 Subject: [PATCH 1/2] mirror: also update readme from alpha/beta/rc versions --- mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirror.py b/mirror.py index 6bc2820..93d14fb 100644 --- a/mirror.py +++ b/mirror.py @@ -54,7 +54,7 @@ def replace_pyproject_toml(content: str) -> str: return re.sub(r'"tach==.*"', f'"tach=={version}"', content) def replace_readme_md(content: str) -> str: - return re.sub(r"rev: v\d+\.\d+\.\d+", f"rev: v{version}", content) + return re.sub(r"rev: v\d+\.\d+(?:\.|[a-z]+)\d+", f"rev: v{version}", content) paths = { "pyproject.toml": replace_pyproject_toml, From f5c89aec3745b11de5aaf848ffebfe83262fd7e1 Mon Sep 17 00:00:00 2001 From: Etienne Wodey Date: Wed, 20 Nov 2024 12:37:45 +0100 Subject: [PATCH 2/2] readme: bump example to latest tach release --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7f6b37e..6eac213 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ To run `tach check` via pre-commit, add the following to your `.pre-commit-confi ```yaml - repo: https://github.com/gauge-sh/tach-pre-commit # Tach version. - rev: v0.14a0 + rev: v0.15.2 hooks: - id: tach ```