Skip to content

Commit

Permalink
fix: install git hook
Browse files Browse the repository at this point in the history
  • Loading branch information
panpuchkov committed Dec 24, 2023
1 parent 7075fc9 commit 7b6d36b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh

SEMVER_ROOT="/pygitver"
PYGITVER_ROOT="/pygitver"
GIT_HOOK_COMMIT_MSG_FILE_DST=".git/hooks/commit-msg"
GIT_HOOK_COMMIT_MSG_FILE_SRC="${SEMVER_ROOT}/scripts/git/hooks/commit-msg"
GIT_HOOK_COMMIT_MSG_FILE_SRC="${PYGITVER_ROOT}/scripts/git/hooks/commit-msg"

echo "Installing git hook.";
if [ ! -r ".git" ]; then
Expand Down

0 comments on commit 7b6d36b

Please sign in to comment.