diff --git a/githooks/pre-commit b/githooks/pre-commit index 8c79f31..b058e01 100755 --- a/githooks/pre-commit +++ b/githooks/pre-commit @@ -4,7 +4,7 @@ set -e VERSION=$(grep version setup.cfg | sed 's/.*= *//') sed -i "s/^__version__ = .*/__version__ = '${VERSION}'/" src/lmwsip/__init__.py -git add lmwsip/__init__.py +git add src/lmwsip/__init__.py python setup.py test yamllint .drone.yml