From: Evan You Date: Thu, 20 Sep 2018 01:52:07 +0000 (-0400) Subject: workflow: allow build as commit type X-Git-Tag: v3.0.0-alpha.0~1231 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc8b1678f4b0f331065278ebb00acbc55d267afe;p=thirdparty%2Fvuejs%2Fcore.git workflow: allow build as commit type --- diff --git a/scripts/verifyCommit.js b/scripts/verifyCommit.js index 4741c06f40..1c704f0751 100644 --- a/scripts/verifyCommit.js +++ b/scripts/verifyCommit.js @@ -6,7 +6,7 @@ const msg = require('fs') .readFileSync(msgPath, 'utf-8') .trim() -const commitRE = /^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|ci|chore|types)(\(.+\))?: .{1,50}/ +const commitRE = /^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types)(\(.+\))?: .{1,50}/ if (!commitRE.test(msg)) { console.log()