rm -rf notary
mkdir notary
cd notary
export GOPATH=`pwd`
mkdir -p src/github.com/theupdateframework
git clone --depth 1 https://github.com/theupdateframework/notary.git src/github.com/theupdateframework/notary
cd ..
tar -c -f- --exclude .git notary | xz -9 >notary-`date '+%Y%m%d'`.tar.xz
rm -rf notary
