#! /bin/sh

# IMPORTANT: This hook assumes the repository is cloned at $WORK_TREE

WORK_TREE=/home/chicken/tick
REPO_DIR=/usr/local/repos/tick.git
DEPLOY_DIR=/var/www/apache/code/egg-releases/tick/

git --work-tree="$WORK_TREE" --git-dir="$REPO_DIR" checkout -f master -- tick.release-info
install "$WORK_TREE"/tick.release-info "$DEPLOY_DIR"/tick.release-info
