Skip to content

Commit 4a9e532

Browse files
committed
Fix minor bug in vendoring script changelog edits
Also apply vendoring. closes #329
1 parent 907db34 commit 4a9e532

File tree

8 files changed

+2610
-2052
lines changed

8 files changed

+2610
-2052
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Unreleased
99
----------
1010

1111
.. vendor-insert-here
12-
- Update vendored schemas (2023-09-20)
12+
13+
- Update vendored schemas (2023-09-27)
1314
- Add a ``--validator-class`` option for specifying a custom
1415
``jsonschema.protocols.Validator`` class to use (:pr:`327`, :issue:`262`)
1516
- Minor fix to hook regexes to explicitly match `.` chars. Thanks

scripts/vendor-schemas.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
VENDOR_SLUG = "\n.. vendor-insert-here\n"
1717

1818
EXISTING_CHANGELINE_PATTERN = re.compile(
19-
re.escape(f"{VENDOR_SLUG}\n- Update vendored schemas")
19+
re.escape(VENDOR_SLUG)
20+
+ "\n?- Update vendored schemas"
2021
+ r" \(\d{4}-\d{2}-\d{2}\)"
2122
+ "\n",
2223
flags=re.MULTILINE,

0 commit comments

Comments
 (0)