+else
+ # use tarball from "snapshot" build
+ git fetch "$repo_url" refs/tags/snapshot
+ # save this under some local ref, so repeated calls don't have to fetch everything
+ git update-ref refs/keep-around/snapshot FETCH_HEAD
+ out=$(git show FETCH_HEAD -s)
+ tarball=$(echo "$out" | grep -oE 'eventum-.*\.tar.(gz|xz)')
+ url="$repo_url/releases/download/snapshot/$tarball"
+ test -f "$tarball" || wget -c $url
+ exec "$0" "$tarball"