Commit 12bc071b authored by Philipp Hörist's avatar Philipp Hörist
Browse files

ci: Update commit hook

parent 243fdd5a
......@@ -53,6 +53,11 @@ def enforce_message_rules(subject: str) -> None:
print('Unknown commit message tag:', tag)
if tag == 'release':
if not subject[0].isdigit():
print('Release commits should be of the form "release: X.X.X"')
if not subject[0].isupper():
print('First letter after tag must be uppercase')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment