diff --git a/lib/workers/repository/updates/generate.js b/lib/workers/repository/updates/generate.js index c9a5a95464f6d912911520ae3af702bbe96be6a2..691434e4e7db7d04a811f74682b81af1066025af 100644 --- a/lib/workers/repository/updates/generate.js +++ b/lib/workers/repository/updates/generate.js @@ -72,7 +72,7 @@ function generateBranchConfig(branchUpgrades) { )})`; } upgrade.commitMessagePrefix = `${semanticPrefix}: `; - upgrade.toLowerCase = true; + upgrade.toLowerCase = upgrade.semanticCommitType.match(/[A-Z]/) === null; } // Compile a few times in case there are nested templates upgrade.commitMessage = handlebars.compile(upgrade.commitMessage || '')(