bin/post_version.py: Make the git commit as well.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2505>
This commit is contained in:
Dylan Baker
2019-10-28 08:47:14 -07:00
parent e3d3abb1bc
commit 5cdaa06221
2 changed files with 10 additions and 0 deletions

View File

@@ -27,6 +27,8 @@ import pytest
from . import post_version
# Mock out subprocess.run to avoid having git commits
@mock.patch('bin.post_version.subprocess.run', mock.Mock())
class TestUpdateCalendar:
HEAD = textwrap.dedent("""\