volcano.sh/volcano@v1.9.0/Makefile.def (about)

     1  
     2  # If tag not explicitly set in users default to the git sha.
     3  TAG ?= v1.9.0
     4  GitSHA=`git rev-parse HEAD`
     5  Date=`date "+%Y-%m-%d %H:%M:%S"`
     6  RELEASE_VER=v1.9.0
     7  LD_FLAGS=" \
     8      -X '${REPO_PATH}/pkg/version.GitSHA=${GitSHA}' \
     9      -X '${REPO_PATH}/pkg/version.Built=${Date}'   \
    10      -X '${REPO_PATH}/pkg/version.Version=${RELEASE_VER}'"
    11