diff options
author | Eric Engestrom <eric@igalia.com> | 2023-12-02 11:43:28 +0000 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2023-12-04 21:36:35 +0000 |
commit | ddfd0618d608f1518a48014a3cf1ec1992f7f6b5 (patch) | |
tree | a47a6c2ddd08fc39c821a5fcaca789fa6c4b788e /bin | |
parent | 4de4ba5384ec69c516874901332e40c3c07c18b1 (diff) | |
download | mesa-ddfd0618d608f1518a48014a3cf1ec1992f7f6b5.tar.gz mesa-ddfd0618d608f1518a48014a3cf1ec1992f7f6b5.tar.bz2 mesa-ddfd0618d608f1518a48014a3cf1ec1992f7f6b5.zip |
bin/gen_release_notes: fix regex raw string
Fixes: ba6336ce3e6fa8f32c55 ("docs: use version-number as toctree-title for relnotes")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26468>
(cherry picked from commit 2a6d750a53ecec2882d77fc3250989815830c9bf)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gen_release_notes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gen_release_notes.py b/bin/gen_release_notes.py index 5520e55f17c..1ad60a30680 100755 --- a/bin/gen_release_notes.py +++ b/bin/gen_release_notes.py @@ -325,7 +325,7 @@ def update_release_notes_index(version: str) -> None: first_list = False new_relnotes.append(f'- :doc:`{version} release notes <relnotes/{version}>`\n') if (not first_list and second_list and - re.match(' \d+.\d+(.\d+)? <relnotes/\d+.\d+(.\d+)?>', line)): + re.match(r' \d+.\d+(.\d+)? <relnotes/\d+.\d+(.\d+)?>', line)): second_list = False new_relnotes.append(f' {version} <relnotes/{version}>\n') new_relnotes.append(line) |