mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 04:03:20 +00:00
bazel: implement git build stamping
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user