2020-11-28 23:34:20 +05:00
|
|
|
# Gets git data.
|
|
|
|
# Should be sourced where neccessary.
|
|
|
|
export BRANCHNAME=${BRANCHNAME:=$(git branch --no-color --show-current)}
|
|
|
|
export BUILDID=${BUILDID:=$(git rev-list HEAD --count)}
|
|
|
|
export COMMITHASH=${COMMITHASH:=$(git rev-parse --verify HEAD)}
|
2021-02-19 19:24:42 +05:00
|
|
|
export VERSION=${VERSION:=$(cat VERSION)}
|