bazel: implement git build stamping

This commit is contained in:
Mike Danese
2016-11-02 19:21:31 -07:00
parent 577a0e82c1
commit ba5c2855b3
9 changed files with 14 additions and 5 deletions

View File

@@ -35,9 +35,10 @@ STABLE_BUILD_SCM_STATUS ${KUBE_GIT_TREE_STATE-}
STABLE_BUILD_SCM_REVISION ${KUBE_GIT_VERSION-}
STABLE_BUILD_MAJOR_VERSION ${KUBE_GIT_MAJOR-}
STABLE_BUILD_MINOR_VERSION ${KUBE_GIT_MINOR-}
STABLE_gitCommit ${KUBE_GIT_COMMIT-}
STABLE_gitTreeState ${KUBE_GIT_TREE_STATE-}
STABLE_gitVersion ${KUBE_GIT_VERSION-}
STABLE_gitMajor ${KUBE_GIT_MAJOR-}
STABLE_gitMinor ${KUBE_GIT_MINOR-}
gitCommit ${KUBE_GIT_COMMIT-}
gitTreeState ${KUBE_GIT_TREE_STATE-}
gitVersion ${KUBE_GIT_VERSION-}
gitMajor ${KUBE_GIT_MAJOR-}
gitMinor ${KUBE_GIT_MINOR-}
buildDate $(date -u +'%Y-%m-%dT%H:%M:%SZ')
EOF