Add dist.sh for building and packaging releases