#!/bin/sh -ex cur=$(pwd) tmp=$(mktemp -d) release=$1 [ -n "$release" ] git clone . $tmp/gocheese-$release cd $tmp/gocheese-$release git checkout v$release redo-ifchange VERSION go mod vendor cat > download.texi < $texi <