#!/bin/sh

# git clone git@gitlab.leigh-co.com:aleigh/leigh-bin-kabe.git

gradle distTar
(cd build/distributions;rm -rf leigh-esp-kabe-16.0;tar xfv leigh-esp-kabe-16.0.tar)
(cd leigh-bin-kabe;git pull;rm -rf *;cp -r ../build/distributions/leigh-esp-kabe-16.0/* .;git add -A;git add -u;git commit -m "autopublish";git push)


