#!/bin/sh set -ex echo "#define PROJECT_VERSION \"$(shell git describe --dirty --long --always)\"" > version.h