fix post-receive hook

This commit is contained in:
codl 2017-08-19 13:21:00 +02:00
parent ff358ed64f
commit 8ad6b841c1
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ while read old new refname; do
(
cd /home/codl/forget
source venv/bin/activate
pip install -r requirements.txt
env -u GIT_DIR -u GIT_WORK_TREE pip install -r requirements.txt
tools/write-version.sh
FLASK_APP='forget.py' flask db upgrade
if [[ $(git diff --name-only ${old}..${new} dodo.py) == 'dodo.py' ]]