Skip to content

Commit

Permalink
ci: add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Apr 15, 2023
1 parent fbf3fa5 commit 4245965
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ version_str='"version": '
# read message to var
commit_msg=$(cat $1)

if [[ $commit_msg =~ $commit_types$parens'!?'$msg ]]; then
echo 'Use Conventional Commits: https://conventionalcommits.org'
exit 1
fi
# TODO: fix this, as it does not work...
#if [[ $commit_msg =~ $commit_types$parens'!?'$msg ]]; then
# echo 'Use Conventional Commits: https://conventionalcommits.org'
# exit 1
#fi

# bump version function
bumpVersion() {
Expand Down

0 comments on commit 4245965

Please sign in to comment.