Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
Avoid saving revision file in smithers-only mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmac committed Jun 18, 2014
1 parent 09d3076 commit e47f3b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy/before_restart
Expand Up @@ -14,10 +14,10 @@ pip install -r requirements/github.txt
if [ -z "$SMITHERS_ONLY" ]; then
python manage.py collectstatic --noinput
python manage.py compress
if [ -n $newrev ]; then
echo $newrev > static/revision.txt
fi
fi

python manage.py update_product_details

if [ -n $newrev ]; then
echo $newrev > static/revision.txt
fi

0 comments on commit e47f3b4

Please sign in to comment.