Skip to content

Commit

Permalink
test: 💍 test publish
Browse files Browse the repository at this point in the history
  • Loading branch information
easonchiu committed Jun 18, 2021
1 parent b94aa7b commit 3355126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/verify-commit-msg.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const packageJson = require('../package.json');

const commitRE = /^(revert: )?(feat|fix|polish|docs|style|refactor|perf|test|workflow|ci|chore|types|build)(\(.+\))?: .{1,50}/;

console.log(` ${chalk.bgRed.white(msg)} `);
console.log(`Commit: ${chalk.bgRed.white(msg)}`);

if (!commitRE.test(msg) && packageJson.version !== msg) {
console.log();
Expand Down

0 comments on commit 3355126

Please sign in to comment.