Skip to content

Commit

Permalink
fix: lefthook preventing release
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinchappell committed Oct 30, 2024
1 parent 7d8c44d commit d4ed1d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .lefthook/commitlint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

if [[ -z "$CI" ]]; then
npx commitlint --edit $GIT_PARAMS
fi
6 changes: 3 additions & 3 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
commit-msg:
commands:
commitlint:
run: npx commitlint --edit $GIT_PARAMS
scripts:
"commitlint.sh":
runner: bash

0 comments on commit d4ed1d5

Please sign in to comment.