distro-tools/build/stamp.sh

4 lines
93 B
Bash
Raw Normal View History

#/usr/bin/env sh
cat<<EOF
BUILD_TAG ${GIT_COMMIT:-$(git describe --tags --long --always)}
EOF