Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Adam <dev@robert-adam.de>2021-05-17 09:49:07 +0300
committerRobert Adam <dev@robert-adam.de>2021-05-17 09:49:07 +0300
commit3511ba5a41f65b97a42a24dc2863ea68d15dae5a (patch)
tree4a7da883fc5c28bf850b9623405ec6cfbe04c524 /scripts
parent789f2d79e1b83db88e053c6ec8af93d885350a9c (diff)
MAINT: Introduce REVERT commit type
Diffstat (limited to 'scripts')
-rw-r--r--scripts/commitMessage/CommitMessage.py2
-rwxr-xr-xscripts/generateChangelog.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/commitMessage/CommitMessage.py b/scripts/commitMessage/CommitMessage.py
index 461b49b90..c0fd14a96 100644
--- a/scripts/commitMessage/CommitMessage.py
+++ b/scripts/commitMessage/CommitMessage.py
@@ -11,7 +11,7 @@ class CommitFormatError(Exception):
Exception(msg)
class CommitMessage:
- knownTypes = ["BREAK", "FEAT", "FIX", "FORMAT", "DOCS", "TEST", "MAINT", "CI", "REFAC", "BUILD", "TRANSLATION", "CHANGE"]
+ knownTypes = ["BREAK", "FEAT", "FIX", "FORMAT", "DOCS", "TEST", "MAINT", "CI", "REFAC", "BUILD", "TRANSLATION", "CHANGE", "REVERT"]
def __init__(self, commitString):
lines = commitString.strip().split("\n")
diff --git a/scripts/generateChangelog.py b/scripts/generateChangelog.py
index b26c971d9..2bcaa13f4 100755
--- a/scripts/generateChangelog.py
+++ b/scripts/generateChangelog.py
@@ -94,6 +94,8 @@ def main():
prefix = "Fixed: "
elif "CHANGE" in commit.m_types:
prefix = "Changed: "
+ elif "REVERT" in commit.m_types:
+ prefix = "Reverted: "
else:
prefix = "Unknown: "