Newer
Older
Allen Gilliland
committed
# dynamically pull more interesting stuff from latest git commit
HASH=$(git show-ref --head --hash=7 head) # first 7 letters of hash should be enough; that's what GitHub uses
BRANCH=$(git rev-parse --abbrev-ref HEAD)
Allen Gilliland
committed
DATE=$(git log -1 --pretty=%ad --date=short)
Allen Gilliland
committed
# Return the version string used to describe this version of Metabase.
echo "$VERSION $HASH $BRANCH $DATE"