Skip to content

Commit

Permalink
fix: lerna version failed
Browse files Browse the repository at this point in the history
  • Loading branch information
hughfenghen committed Mar 31, 2024
1 parent 92e77fa commit c1dd1d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/commit-convention.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ feat(av-canvas): add 'video-sprite' feature
Appears under "Bug Fixes" header, `event-tool` subheader, with a link to issue #00:

```
fix(event-tool): clear listeners on listener interface
fix(av-cliper): MP4Clip.clone throw error
close #00
```
Expand Down
2 changes: 1 addition & 1 deletion scripts/verify-commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const msgPath = resolve('.git/COMMIT_EDITMSG');
const msg = readFileSync(msgPath, 'utf-8').trim();

const commitRE =
/^(Merge branch)|((revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip|release)(\(.+\))?: .+)/;
/^(Merge branch)|((revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip|release|version)(\(.+\))?: .+)/;

if (!commitRE.test(msg)) {
console.error(
Expand Down

0 comments on commit c1dd1d2

Please sign in to comment.