#!/bin/sh
rm -rf wasmtime
git clone --depth 1 --recurse-submodules https://github.com/bytecodealliance/wasmtime.git
tar cf - --exclude .git wasmtime | xz -9 >wasmtime-`date '+%Y%m%d'`.tar.xz
rm -rf wasmtime
