#!/bin/sh
rm -rf scylla
git clone https://github.com/scylladb/scylla.git
( cd scylla
  git submodule update --init --recursive 
)
date=`date '+%Y%m%d'`
tar cvf - --exclude .git scylla | xz -9 >scylla-$date.tar.xz
rm -rf scylla
