build: release script

This commit is contained in:
Evan You
2019-12-10 21:29:52 -05:00
parent cd5ba7cfcc
commit 8ed04ed503
16 changed files with 212 additions and 30 deletions

View File

@@ -6,7 +6,7 @@ const msg = require('fs')
.readFileSync(msgPath, 'utf-8')
.trim()
const commitRE = /^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/
const commitRE = /^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip|release)(\(.+\))?: .{1,50}/
if (!commitRE.test(msg)) {
console.log()