Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
gajim
Commits
12bc071b
Commit
12bc071b
authored
May 11, 2022
by
Philipp Hörist
Browse files
ci: Update commit hook
parent
243fdd5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
.githooks/update
View file @
12bc071b
...
...
@@ -53,6 +53,11 @@ def enforce_message_rules(subject: str) -> None:
print
(
'Unknown commit message tag:'
,
tag
)
sys
.
exit
(
1
)
if
tag
==
'release'
:
if
not
subject
[
0
].
isdigit
():
print
(
'Release commits should be of the form "release: X.X.X"'
)
sys
.
exit
(
1
)
if
not
subject
[
0
].
isupper
():
print
(
'First letter after tag must be uppercase'
)
sys
.
exit
(
1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment