Skip to content

Commit

Permalink
ci: 🎡 Github Actions: Release does not run git-cz
Browse files Browse the repository at this point in the history
  • Loading branch information
dc7290 committed May 19, 2022
1 parent 038fbde commit 14d25f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/sh
. "$(dirname -- "$0")/_/husky.sh"

exec < /dev/tty && yarn git-cz --hook || true
[ -z "${SKIP_BY_SEMANTIC_RELEASE}" ] && {
exec < /dev/tty && yarn git-cz --hook
} || true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"test:cli:watch": "jest --watch __tests__/cli/**/*.test.ts",
"test:components": "jest __tests__/components/**/*.test.tsx",
"test:components:watch": "jest --watch __tests__/components/**/*.test.tsx",
"semantic-release": "semantic-release"
"semantic-release": "SKIP_BY_SEMANTIC_RELEASE=true semantic-release"
},
"lint-staged": {
"*.{ts,tsx}": [
Expand Down

0 comments on commit 14d25f3

Please sign in to comment.