#! /bin/bash tag=$(git describe --tags --dirty=-dev) commit=$(git rev-parse HEAD | head -c8) echo "STABLE_GIT_VERSION $tag" echo "STABLE_GIT_COMMIT $commit"