Switch gitVersion format to non-abbreviated hash

Kubernetes-commit: b5efddb393e7beafc14bb2c3bd50598eb7a1b807
This commit is contained in:
Jordan Liggitt 2021-02-23 16:14:29 -05:00 committed by Kubernetes Publisher
parent 8f8241f9ef
commit 1a6e9022ba

View File

@ -55,7 +55,7 @@ var (
// NOTE: The $Format strings are replaced during 'git archive' thanks to the
// companion .gitattributes file containing 'export-subst' in this same
// directory. See also https://git-scm.com/docs/gitattributes
gitVersion string = "v0.0.0-master+$Format:%h$"
gitVersion string = "v0.0.0-master+$Format:%H$"
gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD)
gitTreeState string = "" // state of git tree, either "clean" or "dirty"