We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6920303 commit fe3b726Copy full SHA for fe3b726
commitizen/bump.py
@@ -4,6 +4,7 @@
4
import re
5
from collections import OrderedDict
6
from glob import iglob
7
+from logging import getLogger
8
from string import Template
9
from typing import cast
10
@@ -14,6 +15,8 @@
14
15
16
VERSION_TYPES = [None, PATCH, MINOR, MAJOR]
17
18
+logger = getLogger("commitizen")
19
+
20
21
def find_increment(
22
commits: list[GitCommit], regex: str, increments_map: dict | OrderedDict
@@ -38,7 +41,15 @@ def find_increment(
38
41
new_increment = increments_map[match_pattern]
39
42
break
40
43
44
+ if new_increment is None:
45
+ logger.debug(
46
+ f"no increment needed for '{found_keyword}' in '{message}'"
47
+ )
48
49
if VERSION_TYPES.index(increment) < VERSION_TYPES.index(new_increment):
50
51
+ f"increment detected is '{new_increment}' due to '{found_keyword}' in '{message}'"
52
53
increment = new_increment
54
55
if increment == MAJOR:
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments