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