Convert go_binary linkstamp to x_defs

This commit is contained in:
Jeff Grafton
2017-06-05 16:37:19 -07:00
parent 14e1889372
commit 64bd79fad7
14 changed files with 73 additions and 10 deletions

View File

@@ -29,6 +29,8 @@ kube::version::get_version_vars
# instead of volatile-status.txt.
# Stamped rules will be retriggered by changes to stable-status.txt, but not by
# changes to volatile-status.txt.
# IMPORTANT: the camelCase vars should match the lists in hack/lib/version.sh
# and pkg/version/def.bzl.
cat <<EOF
STABLE_BUILD_GIT_COMMIT ${KUBE_GIT_COMMIT-}
STABLE_BUILD_SCM_STATUS ${KUBE_GIT_TREE_STATE-}