#!/bin/sh -x
version=6.2.4
rm -rf kibana
git clone https://github.com/elastic/kibana.git
( cd kibana
  git co -f v$version
  npm install
)
tar cvf - kibana | xz -9 >kibana-$version.tar.xz
rm -rf kibana
