Philipp Hörist pushed to branch master at gajim / gajim


Commits:
12bc071b by lovetox at 2022-05-11T22:48:17+02:00
ci: Update commit hook

- - - - -


1 changed file:

- .githooks/update


Changes:

=====================================
.githooks/update
=====================================
@@ -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)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/12bc071bfa54822f03ac512da3ffbf9ec776828f

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/12bc071bfa54822f03ac512da3ffbf9ec776828f
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to