#!/bin/sh -x
rm -rf kysync
git clone --depth 1 --branch v1 --recurse-submodules https://github.com/kyotov/ksync.git kysync
tar cvf - --exclude .git kysync | xz -9 >kysync-`date '+%Y%m%d'`.tar.xz
rm -rf kysync
