update the release script to pull and clean the repo before building

pull/269/head
John Shahid 2014-02-21 17:45:36 -05:00
parent b5321d4a42
commit b2c66d384d
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,12 @@ set -e
cd `dirname $0`
git checkout .
git pull --rebase
make clean
git clean -dfx
./configure --with-goroot=$HOME/bin/go/
modified=$(git ls-files --modified | wc -l)
if [ $modified -ne 0 ]; then