Commit 5a6df46
authored
fix: skip pre-commit hook install with running during release (#2986)
# Rationale for this change
`make install` fails on release tarballs because `install-hooks`
requires a .git directory. So this pr modifies install so we only run
prek install when .git exists, otherwise succeed.
Found during 0.11.0 RC1 release verification.
## Are these changes tested?
Yes
## Are there any user-facing changes?
No1 parent 78615d2 commit 5a6df46
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments