#!/bin/sh

gradle distTar -x test
(cd build/distributions;rm -rf leigh-minecraft-leighco-1.0;tar xfv leigh-minecraft-leighco-1.0.tar)
(cd bin-leigh-minecraft-leighco;git pull;rm -rf *;cp -r ../build/distributions/leigh-minecraft-leighco-1.0/* .;git add -A;git add -u;git commit -m "autopublish";git push)


